summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/get_myaddress.c
diff options
context:
space:
mode:
authorjraynard <jraynard@FreeBSD.org>1996-06-08 22:54:59 +0000
committerjraynard <jraynard@FreeBSD.org>1996-06-08 22:54:59 +0000
commit334d5a2501b8e9c0a881869a4a14de472a3d752a (patch)
tree0d3c657c913deeac4d961f72b4acf381ec762180 /lib/libc/rpc/get_myaddress.c
parent6f17f90cd60ae1ed4bf1e5a24833a04ce13a749c (diff)
downloadFreeBSD-src-334d5a2501b8e9c0a881869a4a14de472a3d752a.zip
FreeBSD-src-334d5a2501b8e9c0a881869a4a14de472a3d752a.tar.gz
Code cleanup (part one):
1. Added missing function prototypes. 2. Added missing function return types. 3. Added missing function argument types. 4. Added missing headers for system function prototypes. 5. Got rid of "extern int errno" rubbish.
Diffstat (limited to 'lib/libc/rpc/get_myaddress.c')
-rw-r--r--lib/libc/rpc/get_myaddress.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/rpc/get_myaddress.c b/lib/libc/rpc/get_myaddress.c
index 1565531..c93671b 100644
--- a/lib/libc/rpc/get_myaddress.c
+++ b/lib/libc/rpc/get_myaddress.c
@@ -30,7 +30,7 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)get_myaddress.c 1.4 87/08/11 Copyr 1984 Sun Micro";*/
/*static char *sccsid = "from: @(#)get_myaddress.c 2.1 88/07/29 4.0 RPCSRC";*/
-static char *rcsid = "$Id: get_myaddress.c,v 1.2 1995/05/30 05:41:20 rgrimes Exp $";
+static char *rcsid = "$Id: get_myaddress.c,v 1.3 1995/10/22 14:51:23 phk Exp $";
#endif
/*
@@ -54,7 +54,7 @@ static char *rcsid = "$Id: get_myaddress.c,v 1.2 1995/05/30 05:41:20 rgrimes Exp
/*
* don't use gethostbyname, which would invoke yellow pages
*/
-get_myaddress(addr)
+void get_myaddress(addr)
struct sockaddr_in *addr;
{
int s;
OpenPOWER on IntegriCloud