diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-07-02 00:18:56 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-07-02 00:18:56 +0000 |
commit | 69f4a3eb0a9fb6682772f51944902608fd3e436c (patch) | |
tree | 39168e0162ce51b44606645a6ca91b6174b3b522 /sys/netinet | |
parent | dca688188bd57dae39774c80974f2ef083a8c742 (diff) |
Move prototype for bindresvport(3) to <netiniet/in.h> as it is
not rpc-specific and other stuff uses it now.
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/in.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sys/netinet/in.h b/sys/netinet/in.h index 9fca4a44a4c..4238c797f07 100644 --- a/sys/netinet/in.h +++ b/sys/netinet/in.h @@ -1,4 +1,4 @@ -/* $OpenBSD: in.h,v 1.8 1997/02/28 03:44:52 angelos Exp $ */ +/* $OpenBSD: in.h,v 1.9 1997/07/02 00:18:55 millert Exp $ */ /* $NetBSD: in.h,v 1.20 1996/02/13 23:41:47 christos Exp $ */ /* @@ -341,8 +341,15 @@ struct ip_mreq { { "porthilast", CTLTYPE_INT }, \ } +#ifndef _KERNEL -#ifdef _KERNEL +#include <sys/cdefs.h> + +__BEGIN_DECLS +int bindresvport __P((int, struct sockaddr_in *)); +__END_DECLS + +#else int in_broadcast __P((struct in_addr, struct ifnet *)); int in_canforward __P((struct in_addr)); int in_cksum __P((struct mbuf *, int)); |