summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorderaadt <>2013-11-12 07:00:24 +0000
committerderaadt <>2013-11-12 07:00:24 +0000
commit8ef84bdff61bb5b6cd20dcdccc675cee0f3a17bc (patch)
treeff410d033700ceb896772872cf5581442bd013ee
parentdb8563fae52c772be6669f5e4b37165f979e3424 (diff)
downloadopenbsd-8ef84bdff61bb5b6cd20dcdccc675cee0f3a17bc.tar.gz
openbsd-8ef84bdff61bb5b6cd20dcdccc675cee0f3a17bc.tar.bz2
openbsd-8ef84bdff61bb5b6cd20dcdccc675cee0f3a17bc.zip
permute15() should be static. Not cranking libc now, because it is
not urgent.
-rw-r--r--src/lib/libc/net/res_random.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/net/res_random.c b/src/lib/libc/net/res_random.c
index 78cd2c3bb0..e22771995a 100644
--- a/src/lib/libc/net/res_random.c
+++ b/src/lib/libc/net/res_random.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: res_random.c,v 1.19 2013/04/17 03:07:40 deraadt Exp $ */ 1/* $OpenBSD: res_random.c,v 1.20 2013/11/12 07:00:24 deraadt Exp $ */
2 2
3/* 3/*
4 * Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de> 4 * 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)
130/* 130/*
131 * 15-bit permutation based on Luby-Rackoff block cipher 131 * 15-bit permutation based on Luby-Rackoff block cipher
132 */ 132 */
133u_int 133static u_int
134permute15(u_int in) 134permute15(u_int in)
135{ 135{
136 int i; 136 int i;