Skip to content

Commit

Permalink
Merge branch 'rs/clean-menu-item-defn'
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
Junio C Hamano committed Sep 9, 2014
2 parents 55b6dff + 8687f77 commit 8015a60
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 8015a60

Please sign in to comment.