diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-09-09 12:54:06 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-09-09 12:54:06 -0700 |
commit | 8015a607151ad986fb3625e703457d6d6e940097 (patch) | |
tree | 3fe911a02c373febfaba67c037417bf98857671a /builtin | |
parent | Merge branch 'jc/config-mak-document-darwin-vs-macosx' (diff) | |
parent | clean: use f(void) instead of f() to declare a pointer to a function without ... (diff) | |
download | tgif-8015a607151ad986fb3625e703457d6d6e940097.tar.xz |
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
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/clean.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |