diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2007-04-11 18:46:22 +0200 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2007-04-11 18:46:22 +0200 |
commit | 275aeba0f94a30c19e4d5f8301cb7c19f7e78386 (patch) | |
tree | 376df95b53d93f7874866101378f7b55560ebecf /m4 | |
parent | c9e56b245349e503ab5d95f0d39c597c836617ef (diff) | |
download | xine-lib-275aeba0f94a30c19e4d5f8301cb7c19f7e78386.tar.gz xine-lib-275aeba0f94a30c19e4d5f8301cb7c19f7e78386.tar.bz2 |
Return NULL to avoid 'control reaches end of non-void function' warning from throwing off the test.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/pthreads.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/pthreads.m4 b/m4/pthreads.m4 index 35193370d..363a8b4b2 100644 --- a/m4/pthreads.m4 +++ b/m4/pthreads.m4 @@ -41,7 +41,7 @@ AC_DEFUN([CC_PTHREAD_FLAGS], [ AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include <pthread.h> - void *fakethread(void *arg) { } + void *fakethread(void *arg) { return NULL; } pthread_t fakevariable; ]], [[pthread_create(&fakevariable, NULL, &fakethread, NULL);]] |