]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
closefrom(3) on FreeBSD is a void return.
authorRoy Marples <roy@marples.name>
Tue, 13 Apr 2010 12:10:16 +0000 (12:10 +0000)
committerRoy Marples <roy@marples.name>
Tue, 13 Apr 2010 12:10:16 +0000 (12:10 +0000)
Thanks to Naohiro Aota.

configure

index 3c226afb9194c6fc7dfdae475b457d4435e3d5d0..050c2ea81346078da018aa0212317f9db667c777 100755 (executable)
--- a/configure
+++ b/configure
@@ -256,7 +256,7 @@ if [ -z "$CLOSEFROM" ]; then
        cat <<EOF >_closefrom.c
 #include <unistd.h>
 int main(void) {
-       int r = closefrom(3);
+       closefrom(3);
        return 0;
 }
 EOF