--- libeio/xthread.h 2011/07/19 05:12:16 1.14 +++ libeio/xthread.h 2012/04/24 18:47:50 1.15 @@ -47,7 +47,7 @@ #define X_COND_TIMEDWAIT(cond,mutex,to) pthread_cond_timedwait (&(cond), &(mutex), &(to)) typedef pthread_t xthread_t; -#define X_THREAD_PROC(name) void *name (void *thr_arg) +#define X_THREAD_PROC(name) static void *name (void *thr_arg) #define X_THREAD_ATFORK(a,b,c) static int