Use (void) for no parameters, not ()

This ensures we build with -Werror=missing-parameter-type.

https://bugzilla.gnome.org/show_bug.cgi?id=687385
This commit is contained in:
Colin Walters
2012-11-01 19:36:52 -04:00
parent 84475e4320
commit 8e59d8602c
3 changed files with 3 additions and 3 deletions

View File

@@ -41,7 +41,7 @@ call_counter_init (gpointer tclass)
}
}
static void interface_per_class_init () { call_counter_init (NULL); }
static void interface_per_class_init (void) { call_counter_init (NULL); }
/* define 3 test interfaces */
typedef GTypeInterface MyFace0Interface;