[glib] tests: fix compiler warning in gvariant test



commit 0bdf7fecaf1ffc7263d2bc48a87c99f4705138fc
Author: Tim-Philipp MÃller <tim centricular net>
Date:   Fri Nov 2 13:14:58 2012 +0000

    tests: fix compiler warning in gvariant test
    
    gvariant.c:3555:1: warning: function declaration isnât a prototype [-Wstrict-prototypes]

 glib/tests/gvariant.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/tests/gvariant.c b/glib/tests/gvariant.c
index f7232d1..d2d09d9 100644
--- a/glib/tests/gvariant.c
+++ b/glib/tests/gvariant.c
@@ -3552,7 +3552,7 @@ test_hashing (void)
 }
 
 static void
-test_gv_byteswap ()
+test_gv_byteswap (void)
 {
 #if G_BYTE_ORDER == G_LITTLE_ENDIAN
 # define native16(x)  x, 0



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