Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sys/netinet6 Pullup 1.21 [itojun]:



details:   https://anonhg.NetBSD.org/src/rev/a0c56b9ebd20
branches:  netbsd-1-5
changeset: 489884:a0c56b9ebd20
user:      tv <tv%NetBSD.org@localhost>
date:      Wed Oct 18 03:14:45 2000 +0000

description:
Pullup 1.21 [itojun]:
use __P() in prototype for non-ansi compilers.
From: Michael Shalayeff <mickey%lucifier.remote.dti.net@localhost>
(we don't ansify it for kame code sharing)

diffstat:

 sys/netinet6/in6.h |  15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diffs (29 lines):

diff -r 41faff64b617 -r a0c56b9ebd20 sys/netinet6/in6.h
--- a/sys/netinet6/in6.h        Wed Oct 18 03:11:17 2000 +0000
+++ b/sys/netinet6/in6.h        Wed Oct 18 03:14:45 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: in6.h,v 1.15.2.3 2000/08/27 01:38:54 itojun Exp $      */
+/*     $NetBSD: in6.h,v 1.15.2.4 2000/10/18 03:14:45 tv Exp $  */
 /*     $KAME: in6.h,v 1.57 2000/08/26 10:00:45 itojun Exp $    */
 
 /*
@@ -589,12 +589,13 @@
 __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));



Home | Main Index | Thread Index | Old Index