From: Roy Marples Date: Tue, 13 Apr 2010 12:10:16 +0000 (+0000) Subject: closefrom(3) on FreeBSD is a void return. X-Git-Tag: v5.2.3~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bc9e6989dbb249f9f1bebe54282c738513fec5b;p=thirdparty%2Fdhcpcd.git closefrom(3) on FreeBSD is a void return. Thanks to Naohiro Aota. --- diff --git a/configure b/configure index 3c226afb..050c2ea8 100755 --- a/configure +++ b/configure @@ -256,7 +256,7 @@ if [ -z "$CLOSEFROM" ]; then cat <_closefrom.c #include int main(void) { - int r = closefrom(3); + closefrom(3); return 0; } EOF