[yelp] Mark internal functions with G_GNUC_INTERNAL



commit 684c6ab126971fe865fd2db84b7b74a7980e85ef
Author: David King <amigadave amigadave com>
Date:   Fri Oct 16 14:44:33 2015 +0100

    Mark internal functions with G_GNUC_INTERNAL
    
    https://bugzilla.gnome.org/show_bug.cgi?id=756658

 libyelp/Makefile.am               |    4 ++--
 libyelp/yelp-bz2-decompressor.h   |    2 ++
 libyelp/yelp-debug.h              |    1 +
 libyelp/yelp-error.h              |    1 +
 libyelp/yelp-info-parser.h        |    2 ++
 libyelp/yelp-lzma-decompressor.h  |    2 ++
 libyelp/yelp-magic-decompressor.h |    2 ++
 libyelp/yelp-man-parser.h         |    3 +++
 8 files changed, 15 insertions(+), 2 deletions(-)
---
diff --git a/libyelp/Makefile.am b/libyelp/Makefile.am
index 5f31461..af6f0cb 100644
--- a/libyelp/Makefile.am
+++ b/libyelp/Makefile.am
@@ -151,10 +151,10 @@ BUILT_SOURCES +=                 \
        yelp-types.h
 
 yelp-marshal.h: yelp-marshal.list
-       $(AM_V_GEN) glib-genmarshal --prefix=yelp_marshal $(srcdir)/yelp-marshal.list --header $< > $@
+       $(AM_V_GEN) glib-genmarshal --prefix=yelp_marshal $(srcdir)/yelp-marshal.list --header --internal $< 
$@
 
 yelp-marshal.c: yelp-marshal.list
-       $(AM_V_GEN) glib-genmarshal --prefix=yelp_marshal $(srcdir)/yelp-marshal.list --header --body $< > $@
+       $(AM_V_GEN) glib-genmarshal --prefix=yelp_marshal $(srcdir)/yelp-marshal.list --header --body 
--internal $< > $@
 
 CLEANFILES = $(BUILT_SOURCES)
 
diff --git a/libyelp/yelp-bz2-decompressor.h b/libyelp/yelp-bz2-decompressor.h
index 3d44250..9867c98 100644
--- a/libyelp/yelp-bz2-decompressor.h
+++ b/libyelp/yelp-bz2-decompressor.h
@@ -42,8 +42,10 @@ struct _YelpBz2DecompressorClass
     GObjectClass parent_class;
 };
 
+G_GNUC_INTERNAL
 GType               yelp_bz2_decompressor_get_type (void);
 
+G_GNUC_INTERNAL
 YelpBz2Decompressor *yelp_bz2_decompressor_new (void);
 
 G_END_DECLS
diff --git a/libyelp/yelp-debug.h b/libyelp/yelp-debug.h
index d7d8e7f..620a4bf 100644
--- a/libyelp/yelp-debug.h
+++ b/libyelp/yelp-debug.h
@@ -66,6 +66,7 @@ typedef enum {
 # define d(x)
 #endif
 
+G_GNUC_INTERNAL
 void yelp_debug (const gchar *file, guint line, 
                  const gchar *function, guint flags, const gchar *format, ...);
 
diff --git a/libyelp/yelp-error.h b/libyelp/yelp-error.h
index 04f4ffa..7d2a0df 100644
--- a/libyelp/yelp-error.h
+++ b/libyelp/yelp-error.h
@@ -34,6 +34,7 @@ typedef enum {
     YELP_ERROR_UNKNOWN
 } YelpError;
 
+G_GNUC_INTERNAL
 GError *            yelp_error_copy               (GError *error);
 
 G_END_DECLS
diff --git a/libyelp/yelp-info-parser.h b/libyelp/yelp-info-parser.h
index cfd8a72..7cec40e 100644
--- a/libyelp/yelp-info-parser.h
+++ b/libyelp/yelp-info-parser.h
@@ -33,7 +33,9 @@ enum {
 };
 
 
+G_GNUC_INTERNAL
 GtkTreeStore          *yelp_info_parser_parse_file  (char           *file);
+G_GNUC_INTERNAL
 xmlDocPtr             yelp_info_parser_parse_tree  (GtkTreeStore   *tree);
 
 #endif /* __YELP_INFO_PARSER_H__ */
diff --git a/libyelp/yelp-lzma-decompressor.h b/libyelp/yelp-lzma-decompressor.h
index ea5799e..be656cb 100644
--- a/libyelp/yelp-lzma-decompressor.h
+++ b/libyelp/yelp-lzma-decompressor.h
@@ -41,8 +41,10 @@ struct _YelpLzmaDecompressorClass
     GObjectClass parent_class;
 };
 
+G_GNUC_INTERNAL
 GType                 yelp_lzma_decompressor_get_type (void);
 
+G_GNUC_INTERNAL
 YelpLzmaDecompressor *yelp_lzma_decompressor_new (void);
 
 G_END_DECLS
diff --git a/libyelp/yelp-magic-decompressor.h b/libyelp/yelp-magic-decompressor.h
index 1eb3ca5..4984dba 100644
--- a/libyelp/yelp-magic-decompressor.h
+++ b/libyelp/yelp-magic-decompressor.h
@@ -41,8 +41,10 @@ struct _YelpMagicDecompressorClass
     GObjectClass parent_class;
 };
 
+G_GNUC_INTERNAL
 GType                 yelp_magic_decompressor_get_type (void);
 
+G_GNUC_INTERNAL
 YelpMagicDecompressor *yelp_magic_decompressor_new (void);
 
 G_END_DECLS
diff --git a/libyelp/yelp-man-parser.h b/libyelp/yelp-man-parser.h
index 158568e..26d73bd 100644
--- a/libyelp/yelp-man-parser.h
+++ b/libyelp/yelp-man-parser.h
@@ -26,10 +26,13 @@
 
 typedef struct _YelpManParser YelpManParser;
 
+G_GNUC_INTERNAL
 YelpManParser *     yelp_man_parser_new         (void);
+G_GNUC_INTERNAL
 xmlDocPtr           yelp_man_parser_parse_file  (YelpManParser   *parser,
                                                  gchar           *path,
                                                  GError         **error);
+G_GNUC_INTERNAL
 void                yelp_man_parser_free        (YelpManParser   *parser);
 
 #endif /* __YELP_MAN_PARSER_H__ */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]