Added explicit prototype for callback function and fixed code accordingly
commit528955c44723fc4216f6261567fecfe038188971
authorChristophe CURIS <christophe.curis@free.fr>
Sun, 9 Jun 2013 20:56:37 +0000 (9 22:56 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 9 Jun 2013 21:20:57 +0000 (9 22:20 +0100)
treeba00e9762038c1e09645c4fe4efcfb73451d9e5c
parent6dda67bc5167ad5caa2f93fd95d0405620baf654
Added explicit prototype for callback function and fixed code accordingly

Using an unspecified prototype function for a callback is calling
for problem. Added an explicit prototype for the 2 callback
functions in WDefaultEntry, and fixed the functions used to match
it. The new code should be a lot safer.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
src/defaults.c