mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
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:
@@ -1,6 +1,6 @@
|
||||
#include <glib.h>
|
||||
|
||||
int main()
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
g_assert(42 < 0);
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user