From e689014cc2747748c76a2b3f492470f1362031e2 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 5 Feb 1999 05:58:55 +0000 Subject: ipf 3.2.10; work by kjell --- sys/netinet/ip_auth.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'sys/netinet/ip_auth.c') diff --git a/sys/netinet/ip_auth.c b/sys/netinet/ip_auth.c index fb7d9b660f3..e41404626ff 100644 --- a/sys/netinet/ip_auth.c +++ b/sys/netinet/ip_auth.c @@ -1,24 +1,25 @@ -/* $OpenBSD: ip_auth.c,v 1.4 1998/09/15 09:51:17 pattonme Exp $ */ +/* $OpenBSD: ip_auth.c,v 1.5 1999/02/05 05:58:49 deraadt Exp $ */ /* - * Copyright (C) 1997 by Darren Reed & Guido van Rooij. + * Copyright (C) 1998 by Darren Reed & Guido van Rooij. * * Redistribution and use in source and binary forms are permitted * provided that this notice is preserved and due credit is given * to the original author and the contributors. */ #if !defined(lint) -static const char rcsid[] = "@(#)$Id: ip_auth.c,v 1.4 1998/09/15 09:51:17 pattonme Exp $"; +static const char rcsid[] = "@(#)$Id: ip_auth.c,v 1.5 1999/02/05 05:58:49 deraadt Exp $"; #endif -#if !defined(_KERNEL) && !defined(KERNEL) -# include -# include -#endif #include #include #include #include #include +#if !defined(_KERNEL) && !defined(KERNEL) +# include +# include +# include +#endif #if defined(KERNEL) && (__FreeBSD_version >= 220000) # include # include @@ -98,7 +99,7 @@ extern struct ifqueue ipintrq; /* ip packet input queue */ #if (SOLARIS || defined(__sgi)) && defined(_KERNEL) -extern krwlock_t ipf_auth; +extern KRWLOCK_T ipf_auth; extern kmutex_t ipf_authmx; # if SOLARIS extern kcondvar_t ipfauthwait; -- cgit v1.2.3