summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_gre.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-03-15 18:19:54 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-03-15 18:19:54 +0000
commitde0519636e72969a9359cf27a32e00375235e343 (patch)
tree3670fa3ad7bf3bf88d6e1ab3add73f82987d555e /sys/netinet/ip_gre.c
parente018051dbb8764df0d8660f8e0e82fa3eaefb0c4 (diff)
Kill #if __STDC__ used to do K&R vs. ANSI varargs/stdarg; just do things
the ANSI way.
Diffstat (limited to 'sys/netinet/ip_gre.c')
-rw-r--r--sys/netinet/ip_gre.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/sys/netinet/ip_gre.c b/sys/netinet/ip_gre.c
index 9e559d76df7..591b92104ed 100644
--- a/sys/netinet/ip_gre.c
+++ b/sys/netinet/ip_gre.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_gre.c,v 1.14 2002/03/14 03:16:11 millert Exp $ */
+/* $OpenBSD: ip_gre.c,v 1.15 2002/03/15 18:19:52 millert Exp $ */
/* $NetBSD: ip_gre.c,v 1.9 1999/10/25 19:18:11 drochner Exp $ */
/*
@@ -216,13 +216,7 @@ gre_input2(m , hlen, proto)
* IPPROTO_GRE and a local destination address).
*/
void
-#if __STDC__
gre_input(struct mbuf *m, ...)
-#else
-gre_input(m, va_alist)
- struct mbuf *m;
- va_dcl
-#endif
{
register int hlen,ret;
va_list ap;
@@ -254,13 +248,7 @@ gre_input(m, va_alist)
*/
void
-#if __STDC__
gre_mobile_input(struct mbuf *m, ...)
-#else
-gre_mobile_input(m, va_alist)
- struct mbuf *m;
- va_dcl
-#endif
{
register struct ip *ip = mtod(m, struct ip *);
register struct mobip_h *mip = mtod(m, struct mobip_h *);