2007-03-25 Ralf Corsépius <ralf.corsepius@rtems.org>

* libnetworking/netinet/udp_var.h: Cosmetics from FreeBSD.
	Remove __P();
This commit is contained in:
Ralf Corsepius
2007-03-25 16:50:37 +00:00
parent b61d89c9eb
commit 29bac07b80
2 changed files with 13 additions and 7 deletions

View File

@@ -1,5 +1,7 @@
2007-03-25 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netinet/udp_var.h: Cosmetics from FreeBSD.
Remove __P();
* libnetworking/netinet/in_pcb.h: More partial updates from FreeBSD.
2007-03-25 Ralf Corsépius <ralf.corsepius@rtems.org>

View File

@@ -27,7 +27,11 @@
* SUCH DAMAGE.
*
* @(#)udp_var.h 8.1 (Berkeley) 6/10/93
* $FreeBSD: src/sys/netinet/udp_var.h,v 1.28 2004/08/16 18:32:07 rwatson Exp $
* $FreeBSD: src/sys/netinet/udp_var.h,v 1.29 2005/01/07 01:45:45 imp Exp $
*/
/*
* $Id$
*/
#ifndef _NETINET_UDP_VAR_H_
@@ -37,7 +41,7 @@
* UDP kernel structures and variables.
*/
struct udpiphdr {
struct ipovly ui_i; /* overlaid ip structure */
struct ipovly ui_i; /* overlaid ip structure */
struct udphdr ui_u; /* udp header */
};
#define ui_next ui_i.ih_next
@@ -92,11 +96,11 @@ extern struct inpcbhead udb;
extern struct inpcbinfo udbinfo;
extern struct udpstat udpstat;
void udp_ctlinput __P((int, struct sockaddr *, void *));
void udp_init __P((void));
void udp_input __P((struct mbuf *, int));
int udp_usrreq __P((struct socket *,
int, struct mbuf *, struct mbuf *, struct mbuf *));
void udp_ctlinput(int, struct sockaddr *, void *);
void udp_init(void);
void udp_input(struct mbuf *, int);
int udp_usrreq(struct socket *,
int, struct mbuf *, struct mbuf *, struct mbuf *);
#endif
#endif