summaryrefslogtreecommitdiff
path: root/builtin/clean.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-09-09 19:54:06 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-09-09 19:54:06 (GMT)
commit8015a607151ad986fb3625e703457d6d6e940097 (patch)
tree3fe911a02c373febfaba67c037417bf98857671a /builtin/clean.c
parent55b6dffd135b51e643f5ebbcf346453a8ceebad0 (diff)
parent8687f7776de7b7a266690af070f1674aecdbfb78 (diff)
downloadgit-8015a607151ad986fb3625e703457d6d6e940097.zip
git-8015a607151ad986fb3625e703457d6d6e940097.tar.gz
git-8015a607151ad986fb3625e703457d6d6e940097.tar.bz2
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/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 1032563..3beeea6 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 {