summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/udp6_var.h
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2007-07-09 17:47:04 +0000
committerrwatson <rwatson@FreeBSD.org>2007-07-09 17:47:04 +0000
commitc9dd6df88ff12cb0d8571544d31188c8f701f63c (patch)
tree3ee3f9b5d69c7e380de938d56baab72d2c142022 /sys/netinet6/udp6_var.h
parent1c0ad7a383f372ebdb902b489434ed882ba0ccbb (diff)
downloadFreeBSD-src-c9dd6df88ff12cb0d8571544d31188c8f701f63c.zip
FreeBSD-src-c9dd6df88ff12cb0d8571544d31188c8f701f63c.tar.gz
General style, white space, and comment cleanup; move to ANSI C
prototypes, don't use register, etc. Synchronize structure and layout to the IPv4 versions of these functions to a greater extent, making visual comparison easier. Remove now stale or incorrect comments. Enable full lock assertions, and correct one exception handling case where the wrong label was jumped to. Tested by: bz Approved by: re (bmah)
Diffstat (limited to 'sys/netinet6/udp6_var.h')
-rw-r--r--sys/netinet6/udp6_var.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/netinet6/udp6_var.h b/sys/netinet6/udp6_var.h
index fbe5166..e8f624c 100644
--- a/sys/netinet6/udp6_var.h
+++ b/sys/netinet6/udp6_var.h
@@ -31,7 +31,8 @@
/*-
* Copyright (c) 1982, 1986, 1989, 1993
- * The Regents of the University of California. All rights reserved.
+ * The Regents of the University of California.
+ * All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -66,13 +67,12 @@
#ifdef _KERNEL
SYSCTL_DECL(_net_inet6_udp6);
-extern struct pr_usrreqs udp6_usrreqs;
+extern struct pr_usrreqs udp6_usrreqs;
-void udp6_ctlinput __P((int, struct sockaddr *, void *));
-int udp6_input __P((struct mbuf **, int *, int));
-int udp6_output __P((struct inpcb *inp, struct mbuf *m,
- struct sockaddr *addr, struct mbuf *control,
- struct thread *td));
+void udp6_ctlinput(int, struct sockaddr *, void *);
+int udp6_input(struct mbuf **, int *, int);
+int udp6_output(struct inpcb *inp, struct mbuf *m, struct sockaddr *addr,
+ struct mbuf *control, struct thread *td);
#endif
#endif /*_NETINET6_UDP6_VAR_H_*/
OpenPOWER on IntegriCloud