aboutsummaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorYoshinobu Inoue <shin@FreeBSD.org>2000-01-15 04:57:12 +0000
committerYoshinobu Inoue <shin@FreeBSD.org>2000-01-15 04:57:12 +0000
commitc3a5e520330ddb343ce169cbed81c9c873c01e53 (patch)
treed7adb2b148c4320acb395e554f172079b40a6d1a /sys/net
parent2a37f70f2613b487a4a7d0c33b1766641e65cd18 (diff)
downloadsrc-c3a5e520330ddb343ce169cbed81c9c873c01e53.tar.gz
src-c3a5e520330ddb343ce169cbed81c9c873c01e53.zip
-K&R fix for some prototype declaration
-fix some comments for #endif to match them with their #ifndef Submitted by: bde
Notes
Notes: svn path=/head/; revision=56013
Diffstat (limited to 'sys/net')
-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 8f2cace27c1b..7a6c07f809e2 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_ */