From 51d2e12a88732c8d63311564fd4df090ac3d3608 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 15 Jan 2001 13:18:42 +0000 Subject: I've been working on fixing up the rpc crap. now it is only _mostly_ broken, a big improvement. Still doesn't compile... --- libc/inet/rpc/bindresvport.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'libc/inet/rpc/bindresvport.c') diff --git a/libc/inet/rpc/bindresvport.c b/libc/inet/rpc/bindresvport.c index 6a6f385cd..e08994df6 100644 --- a/libc/inet/rpc/bindresvport.c +++ b/libc/inet/rpc/bindresvport.c @@ -1,6 +1,3 @@ -static char sccsid[] = - - "@(#)bindresvport.c 2.2 88/07/29 4.0 RPCSRC 1.8 88/02/08 SMI"; /* * Sun RPC is a product of Sun Microsystems, Inc. and is provided for * unrestricted use provided that this legend is included on all tape @@ -34,6 +31,8 @@ static char sccsid[] = * Copyright (c) 1987 by Sun Microsystems, Inc. */ +#include +#include #include #include #include @@ -42,7 +41,7 @@ static char sccsid[] = /* * Bind a socket to a privileged IP port */ -bindresvport(sd, sin) +int bindresvport(sd, sin) int sd; struct sockaddr_in *sin; { -- cgit v1.2.3