summaryrefslogtreecommitdiff
path: root/girepository/gdump.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-10-01 12:44:08 -0400
committerColin Walters <walters@verbum.org>2010-10-01 12:44:08 -0400
commit04b48834511757f406fb7d0f4e8ace8fbe078ecd (patch)
treedbd6ba742191cc6b80329bd5366ada77820df1a3 /girepository/gdump.c
parent6925adbb45889dc5277b1001e4ff33342c8e0821 (diff)
downloadgobject-introspection-04b48834511757f406fb7d0f4e8ace8fbe078ecd.tar.gz
dumper: Make g_irepository_dump static when being used in dumper
Otherwise we'll bomb out if CFLAGS contains -Werror.
Diffstat (limited to 'girepository/gdump.c')
-rw-r--r--girepository/gdump.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/girepository/gdump.c b/girepository/gdump.c
index 166a9e72..cdede612 100644
--- a/girepository/gdump.c
+++ b/girepository/gdump.c
@@ -380,6 +380,9 @@ dump_type (GType type, const char *symbol, GOutputStream *out)
*
* Returns: %TRUE on success, %FALSE on error
*/
+#ifndef G_IREPOSITORY_COMPILATION
+static
+#endif
gboolean
g_irepository_dump (const char *arg, GError **error)
{