]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix configure test for arc4random on FreeBSD 7
authorRoy Marples <roy@marples.name>
Sat, 4 Feb 2012 14:25:11 +0000 (14:25 +0000)
committerRoy Marples <roy@marples.name>
Sat, 4 Feb 2012 14:25:11 +0000 (14:25 +0000)
configure

index 08d4385e90ae63c1b49e982d7132a393ad4dd175..afa679b830aa20e86b930842dfe8d8c15054a6a4 100755 (executable)
--- a/configure
+++ b/configure
@@ -282,7 +282,7 @@ if [ -z "$ARC4RANDOM" ]; then
        cat <<EOF >_arc4random.c
 #include <stdlib.h>
 int main(void) {
-       uint32_t r = arc4random();
+       arc4random();
        return 0;
 }
 EOF