GNOME Bugzilla – Bug 700275
[PATCH] gperl.h:411:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
Last modified: 2013-09-25 19:10:49 UTC
This fixes a warning generated by the installed header file under gcc -Wstrict-prototypes. (The (void) is needed to distinguish a function that takes no arguments from an old-style variadic function.) --- a/gperl.h +++ b/gperl.h @@ -408,7 +408,7 @@ typedef struct { void *priv; } GPerlArgv; -GPerlArgv * gperl_argv_new (); +GPerlArgv * gperl_argv_new (void); void gperl_argv_update (GPerlArgv *pargv); void gperl_argv_free (GPerlArgv *pargv);
Thanks for the patch. Committed.