Mercurial > mplayer.hg
comparison configure @ 32146:d3fbd2b2892c
Fix parameter types in swab() check; fixes the warnings:
tmp.c:3: warning: null argument where non-null required (argument 1)
tmp.c:3: warning: null argument where non-null required (argument 2)
author | diego |
---|---|
date | Tue, 14 Sep 2010 09:47:08 +0000 |
parents | b97cd2b0dc07 |
children | d02cedf3bf1c |
comparison
equal
deleted
inserted
replaced
32145:b97cd2b0dc07 | 32146:d3fbd2b2892c |
---|---|
3930 | 3930 |
3931 echocheck "swab()" | 3931 echocheck "swab()" |
3932 cat > $TMPC << EOF | 3932 cat > $TMPC << EOF |
3933 #define _XOPEN_SOURCE 600 | 3933 #define _XOPEN_SOURCE 600 |
3934 #include <unistd.h> | 3934 #include <unistd.h> |
3935 int main(void) { swab(0, 0, 0); return 0; } | 3935 int main(void) { swab(NULL, NULL, 0); return 0; } |
3936 EOF | 3936 EOF |
3937 _swab=no | 3937 _swab=no |
3938 cc_check && _swab=yes | 3938 cc_check && _swab=yes |
3939 if test "$_swab" = yes ; then | 3939 if test "$_swab" = yes ; then |
3940 def_swab='#define HAVE_SWAB 1' | 3940 def_swab='#define HAVE_SWAB 1' |