Fix woole.c:279:2: warning: implicit declaration of function 'php_info_print_table_start' [-Wimplicit-function-declaration]
Fix various [-Wunused-variable]
Fix: implicit declaration of function 'swProcessPool_dispatch' + Fix arg in call (detected thanks to added proto)
Fix warning: 'ret' may be used uninitialized in this function - Please CHECK default value
Fix: warning: assignment makes pointer from integer without a cast by dropping unneed code, please Check
Fix various  [-Wunused-variable] and [-Wunused-function]
Fix various  [-Wunused-variable] in swwole_client.c
Fix: incompatible pointer type
Fix: Base.c:321:3: warning: too many arguments for format [-Wformat-extra-args]
Fix: [-Wimplicit-function-declaration]
Fix: warning: too many arguments for format [-Wformat-extra-args]
Fix: implicit declaration of function 'swReactor_event_read'
Fix: warning: too many arguments for format [-Wformat-extra-args]
Fix: warning: 'ret1' is used uninitialized in this function [-Wuninitialized] - Please CHECK
Fix: Server.c:1580:30: warning: 'sock' may be used uninitialized in this function [-Wmaybe-uninitialized] - Please review Logic
Fix: Server.c:1090:4: warning: passing argument 3 of 'serv->onClose' makes integer from pointer without a cast - Please check
Fix: Server.c:379:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=]
Fix: Server.c:1040:3: warning: passing argument 3 of 'pthread_create' from incompatible pointer type [enabled by default]
=> expected 'void * (*)(void *)

Please review this change.

From man:
       * It calls pthread_exit(3), specifying an exit status value that is available to another thread in the same process that calls pthread_join(3).
       * It returns from start_routine().  This is equivalent to calling pthread_exit(3) with the value supplied in the return statement.

So the return NULL, seems enough.
As the serv option is not used, having void * seems ok.
Merge pull request #19 from remicollet/master

nice.