summaryrefslogtreecommitdiff
path: root/tests/testgdate.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2012-11-01 19:35:38 -0400
committerColin Walters <walters@verbum.org>2012-11-01 20:12:01 -0400
commit6d88a2f82294ffd6f75436e3f8e72b30fd591a03 (patch)
treeee4e5cb008a2aed8dfb9a72b9e412ebf110467c2 /tests/testgdate.c
parentf6da43f56c8d884c477594a787d2d025f67b0784 (diff)
downloadglib-6d88a2f82294ffd6f75436e3f8e72b30fd591a03.tar.gz
build: Add missing "static" keyword where it should be used
Otherwise we fail to build with -Werror=missing-prototypes. https://bugzilla.gnome.org/show_bug.cgi?id=687385
Diffstat (limited to 'tests/testgdate.c')
-rw-r--r--tests/testgdate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/testgdate.c b/tests/testgdate.c
index 85d22dce2..f5fc43588 100644
--- a/tests/testgdate.c
+++ b/tests/testgdate.c
@@ -29,7 +29,8 @@ else \
if ((passed+notpassed) % 10000 == 0) g_print ("."); fflush (stdout); \
} G_STMT_END
-void g_date_debug_print(GDate* d)
+static void
+g_date_debug_print (GDate* d)
{
if (!d) g_print("NULL!\n");
else