diff options
author | beck <> | 2014-06-23 03:32:57 +0000 |
---|---|---|
committer | beck <> | 2014-06-23 03:32:57 +0000 |
commit | ca3aed695a33180fbf581f1883f15a3054e5f6fd (patch) | |
tree | 4f38b4da227f1d9c173eef81ed9b216fc7184e9e /src | |
parent | 26c04e45e4a4fe29f02fdd9853562b4237b2139f (diff) | |
download | openbsd-ca3aed695a33180fbf581f1883f15a3054e5f6fd.tar.gz openbsd-ca3aed695a33180fbf581f1883f15a3054e5f6fd.tar.bz2 openbsd-ca3aed695a33180fbf581f1883f15a3054e5f6fd.zip |
unbreak - main needs to be extern in here somewhere.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/arc4random/getentropy_linux.c | 3 | ||||
-rw-r--r-- | src/lib/libcrypto/crypto/getentropy_linux.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/libcrypto/arc4random/getentropy_linux.c b/src/lib/libcrypto/arc4random/getentropy_linux.c index 769d6c977e..37efdfa53b 100644 --- a/src/lib/libcrypto/arc4random/getentropy_linux.c +++ b/src/lib/libcrypto/arc4random/getentropy_linux.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: getentropy_linux.c,v 1.6 2014/06/21 21:44:36 deraadt Exp $ */ | 1 | /* $OpenBSD: getentropy_linux.c,v 1.7 2014/06/23 03:32:57 beck Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org> | 4 | * Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org> |
@@ -61,6 +61,7 @@ | |||
61 | 61 | ||
62 | int getentropy(void *buf, size_t len); | 62 | int getentropy(void *buf, size_t len); |
63 | 63 | ||
64 | extern int main(int, char *argv[]); | ||
64 | static int gotdata(char *buf, size_t len); | 65 | static int gotdata(char *buf, size_t len); |
65 | static int getentropy_urandom(void *buf, size_t len); | 66 | static int getentropy_urandom(void *buf, size_t len); |
66 | static int getentropy_sysctl(void *buf, size_t len); | 67 | static int getentropy_sysctl(void *buf, size_t len); |
diff --git a/src/lib/libcrypto/crypto/getentropy_linux.c b/src/lib/libcrypto/crypto/getentropy_linux.c index 769d6c977e..37efdfa53b 100644 --- a/src/lib/libcrypto/crypto/getentropy_linux.c +++ b/src/lib/libcrypto/crypto/getentropy_linux.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: getentropy_linux.c,v 1.6 2014/06/21 21:44:36 deraadt Exp $ */ | 1 | /* $OpenBSD: getentropy_linux.c,v 1.7 2014/06/23 03:32:57 beck Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org> | 4 | * Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org> |
@@ -61,6 +61,7 @@ | |||
61 | 61 | ||
62 | int getentropy(void *buf, size_t len); | 62 | int getentropy(void *buf, size_t len); |
63 | 63 | ||
64 | extern int main(int, char *argv[]); | ||
64 | static int gotdata(char *buf, size_t len); | 65 | static int gotdata(char *buf, size_t len); |
65 | static int getentropy_urandom(void *buf, size_t len); | 66 | static int getentropy_urandom(void *buf, size_t len); |
66 | static int getentropy_sysctl(void *buf, size_t len); | 67 | static int getentropy_sysctl(void *buf, size_t len); |