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

@@ -1,6 +1,6 @@
#include <glib.h>
int main()
int main(int argc, char **argv)
{
g_assert(42 < 0);
return 0;