Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'rs/clean-menu-item-defn'
author
Junio C Hamano
<gitster@pobox.com>
Tue, 9 Sep 2014 19:54:06 +0000
(12:54 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 9 Sep 2014 19:54:06 +0000
(12:54 -0700)
* rs/clean-menu-item-defn:
clean: use f(void) instead of f() to declare a pointer to a function without arguments
builtin/clean.c
patch
|
blob
|
history
raw
(from parent 1:
55b6dff
)
diff --git
a/builtin/clean.c
b/builtin/clean.c
index 1032563e5fae880df9256c9eafaa96d60462ecd2..3beeea6ec0fdc3883f2456caf46f3e1c4dadc682 100644
(file)
--- 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 {