diff options
author | fenner <fenner@FreeBSD.org> | 1997-07-19 20:15:43 +0000 |
---|---|---|
committer | fenner <fenner@FreeBSD.org> | 1997-07-19 20:15:43 +0000 |
commit | 38192cf9a58e44202d926c75756a54dfbf5f295a (patch) | |
tree | 6c7617b8ce09ddc2696a9882def0032e95991f29 /sys/kern/uipc_socket2.c | |
parent | a47a697ebe124771d7d54de0afd01ae48359fb6a (diff) | |
download | FreeBSD-src-38192cf9a58e44202d926c75756a54dfbf5f295a.zip FreeBSD-src-38192cf9a58e44202d926c75756a54dfbf5f295a.tar.gz |
Remove sonewconn() macro kludge, introduced in 4.3-Reno to catch argument
mismatches. Prototypes do a much better job these days.
Noticed by: bde
Diffstat (limited to 'sys/kern/uipc_socket2.c')
-rw-r--r-- | sys/kern/uipc_socket2.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/kern/uipc_socket2.c b/sys/kern/uipc_socket2.c index 4814a66..978b46a 100644 --- a/sys/kern/uipc_socket2.c +++ b/sys/kern/uipc_socket2.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)uipc_socket2.c 8.1 (Berkeley) 6/10/93 - * $Id: uipc_socket2.c,v 1.24 1997/04/27 20:00:44 wollman Exp $ + * $Id: uipc_socket2.c,v 1.25 1997/05/24 17:23:10 peter Exp $ */ #include <sys/param.h> @@ -193,12 +193,9 @@ sodropablereq(head) * then we allocate a new structure, propoerly linked into the * data structure of the original socket, and return this. * Connstatus may be 0, or SO_ISCONFIRMING, or SO_ISCONNECTED. - * - * Currently, sonewconn() is defined as sonewconn1() in socketvar.h - * to catch calls that are missing the (new) second parameter. */ struct socket * -sonewconn1(head, connstatus) +sonewconn(head, connstatus) register struct socket *head; int connstatus; { |