util: add explicit types for calback functions definitions
commit765814e3932597c31f8db9894b555f7052e2c727
authorChristophe CURIS <christophe.curis@free.fr>
Fri, 4 Jul 2014 21:28:48 +0000 (4 23:28 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 6 Jul 2014 00:07:55 +0000 (6 01:07 +0100)
treeb94363d0dafc8b895d69bb83c4678eb715c8e469
parentb75ac967d9d880c59e2f5316f69373f5b12ee12e
util: add explicit types for calback functions definitions

It makes the code easier to read to explicitly define a type for the
functions that are used for callbacks, so this patch does this for the
wmmenugen tool.

It was an opportunity to highlight some variable definitions that looked
like function prototypes, and were as such misplaced in the code, being a
source of confusion.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
util/wmmenugen.c
util/wmmenugen.h
util/wmmenugen_parse_wmconfig.c
util/wmmenugen_parse_xdg.c