From: gnome-perl (bugzilla.gnome.o. <bug...@gn...> - 2013-05-14 08:59:57
|
https://bugzilla.gnome.org/show_bug.cgi?id=700275 gnome-perl | Glib | unspecified Summary: [PATCH] gperl.h:411:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes] Classification: Bindings Product: gnome-perl Version: unspecified OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: Glib AssignedTo: gtk...@li... ReportedBy: an...@mi... QAContact: gtk...@li... GNOME version: --- 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); -- Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. |