WINGs: Added explicit parameter list to function prototypes (Complex case)
commitbab90b216889763f55e0dd155deb7895a507fee2
authorChristophe CURIS <christophe.curis@free.fr>
Sat, 11 May 2013 22:24:45 +0000 (12 00:24 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 12 May 2013 00:01:20 +0000 (12 01:01 +0100)
treed76b6df9985c601e426bc0e0fddc5f8beddf34c1
parent708bc27e3ffffa16c153b28f23d48526c2233a83
WINGs: Added explicit parameter list to function prototypes (Complex case)

It is dangerous to let the compiler know about a function without
letting him know the arguments because he won't be able to report
invalid calls.

This patch concern the cases where adding the arguments led to
problems because the functions were used as call-back. As it is
dangerous to have parameter mismatchs in call-back, setup the
args as expected by prototype and added explicit conversion inside
the concerned function, so the compiler will know and be able to
do what may be necessary.
WINGs/wfilepanel.c