summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-11-12 07:00:25 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-11-12 07:00:25 +0000
commit910990649b773911284144e61f277ff454e04dbe (patch)
treed0a9386c2c9488f1c5d7c23b93899ab31c432d0e /lib/libc
parent12ff09452604b3f9f8fe57fbcf5408435be4ffcf (diff)
permute15() should be static. Not cranking libc now, because it is
not urgent.
Diffstat (limited to 'lib/libc')
-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;