]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix configure tests
authorRoy Marples <roy@marples.name>
Fri, 11 Mar 2016 16:44:59 +0000 (16:44 +0000)
committerRoy Marples <roy@marples.name>
Fri, 11 Mar 2016 16:44:59 +0000 (16:44 +0000)
configure

index 20ef6e5b7674fb20da4e2b68680a21b80d1cf947..867b05e74d84f09c45e714cf1107fcfc3ac1e615 100755 (executable)
--- a/configure
+++ b/configure
@@ -689,7 +689,8 @@ if [ -z "$STRTOI" ]; then
 #include <inttypes.h>
 int main(void) {
        int e;
-       return strtoi("1234", NULL, 0, 0, INT32_MAX, &e);
+       strtoi("1234", NULL, 0, 0, INT32_MAX, &e);
+       return 0;
 }
 EOF
        if $XCC _strtoi.c -o _strtoi 2>&3; then
@@ -977,6 +978,7 @@ if [ -z "$BE64ENC" ]; then
 #include <stdlib.h>
 int main(void) {
        be64enc(NULL, 0);
+       return 0;
 }
 EOF
        if $XCC _be64enc.c -o _be64enc 2>&3; then