summaryrefslogtreecommitdiff
path: root/sys/netinet6
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-10-17 21:46:20 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-10-17 21:46:20 +0000
commitd8c87a50af32045aecbe67caf87501f47f25d1a9 (patch)
tree5dd880514659320cdea2e83320d65043db6dc78a /sys/netinet6
parent01e24f74b1a877d38239e7bfc5664b24b3cc29bd (diff)
use __P() in prototype for non-ansi compilers.
From: Michael Shalayeff <mickey@lucifier.remote.dti.net>
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/in6.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/sys/netinet6/in6.h b/sys/netinet6/in6.h
index 4bd26d85496..26b5095186a 100644
--- a/sys/netinet6/in6.h
+++ b/sys/netinet6/in6.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: in6.h,v 1.17 2000/08/27 01:43:26 itojun Exp $ */
+/* $OpenBSD: in6.h,v 1.18 2000/10/17 21:46:19 itojun Exp $ */
/* $KAME: in6.h,v 1.52 2000/07/15 15:28:02 itojun Exp $ */
/*
@@ -591,12 +591,13 @@ extern void in6_if_up __P((struct ifnet *));
__BEGIN_DECLS
struct cmsghdr;
-extern int inet6_option_space(int);
-extern int inet6_option_init(void *, struct cmsghdr **, int);
-extern int inet6_option_append(struct cmsghdr *, const u_int8_t *, int, int);
-extern u_int8_t *inet6_option_alloc(struct cmsghdr *, int, int, int);
-extern int inet6_option_next(const struct cmsghdr *, u_int8_t **);
-extern int inet6_option_find(const struct cmsghdr *, u_int8_t **, int);
+extern int inet6_option_space __P((int));
+extern int inet6_option_init __P((void *, struct cmsghdr **, int));
+extern int inet6_option_append __P((struct cmsghdr *, const u_int8_t *,
+ int, int));
+extern u_int8_t *inet6_option_alloc __P((struct cmsghdr *, int, int, int));
+extern int inet6_option_next __P((const struct cmsghdr *, u_int8_t **));
+extern int inet6_option_find __P((const struct cmsghdr *, u_int8_t **, int));
extern size_t inet6_rthdr_space __P((int, int));
extern struct cmsghdr *inet6_rthdr_init __P((void *, int));