]> git.llucax.com Git - software/ev.d.git/commitdiff
Bugfix: ev_set_syserr_cb callback don't return void*.
authorLeandro Lucarella <llucax@gmail.com>
Wed, 13 Feb 2008 21:35:12 +0000 (19:35 -0200)
committerLeandro Lucarella <llucax@gmail.com>
Wed, 13 Feb 2008 21:35:12 +0000 (19:35 -0200)
Signed-off-by: Leandro Lucarella <llucax@gmail.com>
ev/c.d

diff --git a/ev/c.d b/ev/c.d
index 3efcb678a76f47bd4bb6bcad755833c426b99be6..70f953212c61b23123be802f64dabb31f6adc960 100644 (file)
--- a/ev/c.d
+++ b/ev/c.d
@@ -261,7 +261,7 @@ void ev_set_allocator(void* function(void* ptr, int size));
 // set the callback function to call on a
 // retryable syscall error
 // (such as failed select, poll, epoll_wait)
 // set the callback function to call on a
 // retryable syscall error
 // (such as failed select, poll, epoll_wait)
-void ev_set_syserr_cb(void* function(char* msg));
+void ev_set_syserr_cb(void function(char* msg));
 
 extern ev_loop_t* ev_default_loop_ptr;
 
 
 extern ev_loop_t* ev_default_loop_ptr;