# HG changeset patch # User diego # Date 1284457628 0 # Node ID d3fbd2b2892cb1d3ee0162eb47c95a35b96c62a9 # Parent b97cd2b0dc07b6b770d05431de0d50b16503ebbe 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) diff -r b97cd2b0dc07 -r d3fbd2b2892c configure --- 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 -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