From 67c3bc9db48c9e12d648df4792c706cae723676c Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Mon, 1 Nov 2010 21:58:43 -0700 Subject: lib: Add some missing static qualifiers. These various functions and data are all used only locally, so should be marked static. Ensuring we get these right will avoid us accidentally leaking unintended symbols through the library interface. --- lib/index.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/index.cc') diff --git a/lib/index.cc b/lib/index.cc index 0d6640bc..00478f8d 100644 --- a/lib/index.cc +++ b/lib/index.cc @@ -63,7 +63,7 @@ struct _NotmuchFilterDiscardUuencodeClass { GMimeFilterClass parent_class; }; -GMimeFilter *notmuch_filter_discard_uuencode_new (void); +static GMimeFilter *notmuch_filter_discard_uuencode_new (void); static void notmuch_filter_discard_uuencode_finalize (GObject *object); @@ -195,7 +195,7 @@ filter_reset (GMimeFilter *gmime_filter) * * Returns: a new #NotmuchFilterDiscardUuencode filter. **/ -GMimeFilter * +static GMimeFilter * notmuch_filter_discard_uuencode_new (void) { static GType type = 0; -- cgit v1.2.3