Fix C99 strict compatibility: don't use void * for function pointers
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 19 Jun 2012 17:45:05 +0000 (13:45 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 19 Jun 2012 17:45:05 +0000 (13:45 -0400)
compiling public headers with --std=x99 -pedantic shows:

warning: ISO C forbids conversion of object pointer to function pointer type

Use "void (*func)(void)" to represent a generic function pointer rather
than "void *".

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>

No differences found
This page took 0.025266 seconds and 4 git commands to generate.