changeset 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
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Tue Sep 14 09:45:40 2010 +0000
+++ b/configure	Tue Sep 14 09:47:08 2010 +0000
@@ -3932,7 +3932,7 @@
 cat > $TMPC << EOF
 #define _XOPEN_SOURCE 600
 #include <unistd.h>
-int main(void) { swab(0, 0, 0); return 0; }
+int main(void) { swab(NULL, NULL, 0); return 0; }
 EOF
 _swab=no
 cc_check && _swab=yes