clean: use f(void) instead of f() to declare a pointer to a function without arguments
commit8687f7776de7b7a266690af070f1674aecdbfb78
authorRené Scharfe <l.s.r@web.de>
Sat, 16 Aug 2014 11:16:56 +0000 (16 13:16 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 18 Aug 2014 16:36:56 +0000 (18 09:36 -0700)
tree411d404342a95d760f66a70dd5ae05e5d00cba0e
parent9f93e4611f72577306e369a64d0a4da847be9751
clean: use f(void) instead of f() to declare a pointer to a function without arguments

Explicitly state that menu_item functions like clean_cmd don't take
any arguments by using void instead of an empty parameter list.

Found using gcc -Wstrict-prototypes.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/clean.c