summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2013-11-12 07:00:24 +0000
committerderaadt <deraadt@openbsd.org>2013-11-12 07:00:24 +0000
commitc8bfcb67f81ad2b66ba9a15e36eb66f4b3d573b6 (patch)
treeb227346116b5a0f6cf3674e91c43d10d8dad9c5c
parentinsert the proper arguments into a prototype (diff)
downloadwireguard-openbsd-c8bfcb67f81ad2b66ba9a15e36eb66f4b3d573b6.tar.xz
wireguard-openbsd-c8bfcb67f81ad2b66ba9a15e36eb66f4b3d573b6.zip
permute15() should be static. Not cranking libc now, because it is
not urgent.
-rw-r--r--lib/libc/net/res_random.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/net/res_random.c b/lib/libc/net/res_random.c
index 78cd2c3bb0b..e22771995ab 100644
--- a/lib/libc/net/res_random.c
+++ b/lib/libc/net/res_random.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: res_random.c,v 1.19 2013/04/17 03:07:40 deraadt Exp $ */
+/* $OpenBSD: res_random.c,v 1.20 2013/11/12 07:00:24 deraadt Exp $ */
/*
* Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
@@ -130,7 +130,7 @@ pmod(u_int16_t gen, u_int16_t exp, u_int16_t mod)
/*
* 15-bit permutation based on Luby-Rackoff block cipher
*/
-u_int
+static u_int
permute15(u_int in)
{
int i;