summaryrefslogtreecommitdiff
path: root/builtin/clean.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2014-11-11 10:20:13 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-11-11 10:20:13 -0800
commitcaea1a2bb52262c64fdef545578ee7c5ceb113c5 (patch)
treeaa305e28ee5480bc3855e029d5f397e351ad618f /builtin/clean.c
parentDocumentation/config.txt: fix minor typo (diff)
parentclean: use f(void) instead of f() to declare a pointer to a function without ... (diff)
downloadtgif-caea1a2bb52262c64fdef545578ee7c5ceb113c5.tar.xz
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
Diffstat (limited to 'builtin/clean.c')
-rw-r--r--builtin/clean.c2
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 {