summaryrefslogtreecommitdiffstats
path: root/sys/net/pfkeyv2.h
diff options
context:
space:
mode:
authorshin <shin@FreeBSD.org>2000-01-15 04:57:12 +0000
committershin <shin@FreeBSD.org>2000-01-15 04:57:12 +0000
commit9925dc7e3708b715026f8ce4eda9c833e89dee2c (patch)
tree29031cff8102c89b5f65d75ed59b114b761088e0 /sys/net/pfkeyv2.h
parent9dca10bf75781fa39dc7f83340dd3ea25b7aff8a (diff)
downloadFreeBSD-src-9925dc7e3708b715026f8ce4eda9c833e89dee2c.zip
FreeBSD-src-9925dc7e3708b715026f8ce4eda9c833e89dee2c.tar.gz
-K&R fix for some prototype declaration
-fix some comments for #endif to match them with their #ifndef Submitted by: bde
Diffstat (limited to 'sys/net/pfkeyv2.h')
-rw-r--r--sys/net/pfkeyv2.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/net/pfkeyv2.h b/sys/net/pfkeyv2.h
index 8f2cace..7a6c07f 100644
--- a/sys/net/pfkeyv2.h
+++ b/sys/net/pfkeyv2.h
@@ -363,8 +363,8 @@ struct sadb_x_ipsecrequest {
#define PFKEY_UNIT64(a) ((a) >> 3)
#ifndef _KERNEL
-extern void pfkey_sadump(struct sadb_msg *m);
-extern void pfkey_spdump(struct sadb_msg *m);
+void pfkey_sadump __P((struct sadb_msg *m));
+void pfkey_spdump __P((struct sadb_msg *m));
struct sockaddr;
int ipsec_check_keylen __P((u_int supported, u_int alg_id, u_int keylen));
@@ -415,6 +415,6 @@ int pfkey_check __P((caddr_t *mhp));
#endif /*!_KERNEL*/
-#endif /* __PFKEY_V2_H */
+#endif /* !__PFKEY_V2_H */
-#endif /* _NET_PFKEYV2_H_ */
+#endif /* !_NET_PFKEYV2_H_ */
OpenPOWER on IntegriCloud