diff options
author | 2007-05-27 19:59:11 +0000 | |
---|---|---|
committer | 2007-05-27 19:59:11 +0000 | |
commit | d01c876014192d88d419ccfbe48ee702bb8b2690 (patch) | |
tree | e1de379fa8f58c5eacafb1372b4dde0e6374dd54 /sys/netinet | |
parent | remove static from icmp_redirect_timeout (diff) | |
download | wireguard-openbsd-d01c876014192d88d419ccfbe48ee702bb8b2690.tar.xz wireguard-openbsd-d01c876014192d88d419ccfbe48ee702bb8b2690.zip |
remove more static to avoid confusing the profiler (and maybe ddb too)
prodded by art@ ja ja claudio@
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/ip_id.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/netinet/ip_id.c b/sys/netinet/ip_id.c index d8c5fe6fef5..339cf09e084 100644 --- a/sys/netinet/ip_id.c +++ b/sys/netinet/ip_id.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_id.c,v 1.13 2004/06/21 23:50:37 tholo Exp $ */ +/* $OpenBSD: ip_id.c,v 1.14 2007/05/27 19:59:11 dlg Exp $ */ /* * Copyright 1998 Niels Provos <provos@citi.umich.edu> @@ -78,8 +78,8 @@ static u_int16_t ru_msb = 0; static long ru_reseed; static u_int32_t tmp; /* Storage for unused random */ -static u_int16_t pmod(u_int16_t, u_int16_t, u_int16_t); -static void ip_initid(void); +u_int16_t pmod(u_int16_t, u_int16_t, u_int16_t); +void ip_initid(void); u_int16_t ip_randomid(void); /* @@ -87,7 +87,7 @@ u_int16_t ip_randomid(void); * of 0 - (mod-1) */ -static u_int16_t +u_int16_t pmod(u_int16_t gen, u_int16_t expo, u_int16_t mod) { u_int16_t s, t, u; @@ -113,7 +113,7 @@ pmod(u_int16_t gen, u_int16_t expo, u_int16_t mod) * This function is called from id_randomid() when needed, an * application does not have to worry about it. */ -static void +void ip_initid(void) { u_int16_t j, i; |