Skip to content

Commit caea1a2

Browse files
committed
Merge branch 'rs/clean-menu-item-defn' into maint
* rs/clean-menu-item-defn: clean: use f(void) instead of f() to declare a pointer to a function without arguments
2 parents a79c3a1 + 8687f77 commit caea1a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/clean.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ struct menu_item {
6767
char hotkey;
6868
const char *title;
6969
int selected;
70-
int (*fn)();
70+
int (*fn)(void);
7171
};
7272

7373
enum menu_stuff_type {

0 commit comments

Comments
 (0)