From: Junio C Hamano Date: Tue, 9 Sep 2014 19:54:06 +0000 (-0700) Subject: Merge branch 'rs/clean-menu-item-defn' X-Git-Tag: v2.2.0-rc0~155 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/8015a607151ad986fb3625e703457d6d6e940097?hp=55b6dffd135b51e643f5ebbcf346453a8ceebad0 Merge branch 'rs/clean-menu-item-defn' * rs/clean-menu-item-defn: clean: use f(void) instead of f() to declare a pointer to a function without arguments --- diff --git a/builtin/clean.c b/builtin/clean.c index 1032563e5f..3beeea6ec0 100644 --- a/builtin/clean.c +++ b/builtin/clean.c @@ -67,7 +67,7 @@ struct menu_item { char hotkey; const char *title; int selected; - int (*fn)(); + int (*fn)(void); }; enum menu_stuff_type {