summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_id.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2002-03-15 18:19:52 +0000
committermillert <millert@openbsd.org>2002-03-15 18:19:52 +0000
commit28afbff99ec10f63540b43942c680ec7abbf823d (patch)
tree5a63b85b7a06f31bd641e6093f7566373a3534aa /sys/netinet/ip_id.c
parentKill some #if __STDC__ used with 8bit function args; we live in an ANSI world (diff)
downloadwireguard-openbsd-28afbff99ec10f63540b43942c680ec7abbf823d.tar.xz
wireguard-openbsd-28afbff99ec10f63540b43942c680ec7abbf823d.zip
Kill #if __STDC__ used to do K&R vs. ANSI varargs/stdarg; just do things
the ANSI way.
Diffstat (limited to 'sys/netinet/ip_id.c')
-rw-r--r--sys/netinet/ip_id.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/netinet/ip_id.c b/sys/netinet/ip_id.c
index d7aa583dfce..14bb58daffe 100644
--- a/sys/netinet/ip_id.c
+++ b/sys/netinet/ip_id.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_id.c,v 1.5 2002/03/14 01:27:11 millert Exp $ */
+/* $OpenBSD: ip_id.c,v 1.6 2002/03/15 18:19:52 millert Exp $ */
/*
* Copyright 1998 Niels Provos <provos@citi.umich.edu>
@@ -92,14 +92,8 @@ u_int16_t ip_randomid(void);
* of 0 - (mod-1)
*/
-#ifdef __STDC__
static u_int16_t
pmod(u_int16_t gen, u_int16_t exp, u_int16_t mod)
-#else
-static u_int16_t
-pmod(gen, exp, mod)
- u_int16_t gen, exp, mod;
-#endif
{
u_int16_t s, t, u;