diff --git a/src/configure b/src/configure index d11cc8c84..9fdc2fcd4 100755 --- a/src/configure +++ b/src/configure @@ -5232,7 +5232,7 @@ else #include extern __thread int i; static int res1, res2; - void thread_main (void *arg) { + void *thread_main (void *arg) { i = (int)arg; sleep (1); if ((int)arg == 1) @@ -5425,7 +5425,7 @@ else int gettid() { return syscall( SYS_gettid ); } - int doThreadOne( void * v ) { + void *doThreadOne( void * v ) { struct tms tm; int status; while (!done) @@ -5435,7 +5435,7 @@ else threadone = tm.tms_utime; return 0; } - int doThreadTwo( void * v ) { + void *doThreadTwo( void * v ) { struct tms tm; long i, j = 0xdeadbeef; int status; diff --git a/src/configure.in b/src/configure.in index e77f1d017..346e3dab1 100644 --- a/src/configure.in +++ b/src/configure.in @@ -707,7 +707,7 @@ AC_ARG_WITH(tls, #include extern __thread int i; static int res1, res2; - void thread_main (void *arg) { + void *thread_main (void *arg) { i = (int)arg; sleep (1); if ((int)arg == 1) @@ -849,7 +849,7 @@ AC_ARG_WITH(virtualtimer, int gettid() { return syscall( SYS_gettid ); } - int doThreadOne( void * v ) { + void *doThreadOne( void * v ) { struct tms tm; int status; while (!done) @@ -859,7 +859,7 @@ AC_ARG_WITH(virtualtimer, threadone = tm.tms_utime; return 0; } - int doThreadTwo( void * v ) { + void *doThreadTwo( void * v ) { struct tms tm; long i, j = 0xdeadbeef; int status;