Skip to content

Commit

Permalink
Fix -Wstrict-prototypes warnings
Browse files Browse the repository at this point in the history
Recent GCC generates "warning: function declaration isn't a prototype" when
building with -Wstrict-prototypes.
  • Loading branch information
Guillaume Desmottes committed Jun 25, 2013
1 parent a614f77 commit d7b91a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mx/mx-stack.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ struct _MxStackClass

GType mx_stack_get_type (void) G_GNUC_CONST;

ClutterActor *mx_stack_new ();
ClutterActor *mx_stack_new (void);

G_END_DECLS

Expand Down
2 changes: 1 addition & 1 deletion mx/mx-utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

G_BEGIN_DECLS

void mx_set_locale ();
void mx_set_locale (void);

gchar *mx_utils_format_time (GTimeVal *time_);

Expand Down

0 comments on commit d7b91a7

Please sign in to comment.