Skip to content

Commit

Permalink
Merge branch 'rs/clean-menu-item-defn' into maint
Browse files Browse the repository at this point in the history
* rs/clean-menu-item-defn:
  clean: use f(void) instead of f() to declare a pointer to a function without arguments
  • Loading branch information
gitster committed Nov 11, 2014
2 parents a79c3a1 + 8687f77 commit caea1a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/clean.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ struct menu_item {
char hotkey;
const char *title;
int selected;
int (*fn)();
int (*fn)(void);
};

enum menu_stuff_type {
Expand Down

0 comments on commit caea1a2

Please sign in to comment.