summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/pmap_getmaps.c
diff options
context:
space:
mode:
authorjraynard <jraynard@FreeBSD.org>1996-06-10 00:49:19 +0000
committerjraynard <jraynard@FreeBSD.org>1996-06-10 00:49:19 +0000
commit27f0bdfba4e8fc628b5a1afaf7e39455291b37de (patch)
treefb98f790b5ece8c1c87c646b39f28df9c086361a /lib/libc/rpc/pmap_getmaps.c
parenta9d801afa6c4bbde4a0661b767edfda1fd5abd8d (diff)
downloadFreeBSD-src-27f0bdfba4e8fc628b5a1afaf7e39455291b37de.zip
FreeBSD-src-27f0bdfba4e8fc628b5a1afaf7e39455291b37de.tar.gz
Code cleanup (part two):
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. Corrected casts in select() args. 6. Got rid of more "extern int errno" rubbish. 7. Added extra parentheses around assignment used as truth value. 8. Fixed bug in clnt_{tcp, udp}create() where pointers could be free'd even if they hadn't been successfully malloc()'d.
Diffstat (limited to 'lib/libc/rpc/pmap_getmaps.c')
-rw-r--r--lib/libc/rpc/pmap_getmaps.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/rpc/pmap_getmaps.c b/lib/libc/rpc/pmap_getmaps.c
index cbb1a43..6119fc0 100644
--- a/lib/libc/rpc/pmap_getmaps.c
+++ b/lib/libc/rpc/pmap_getmaps.c
@@ -30,7 +30,7 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)pmap_getmaps.c 1.10 87/08/11 Copyr 1984 Sun Micro";*/
/*static char *sccsid = "from: @(#)pmap_getmaps.c 2.2 88/08/01 4.0 RPCSRC";*/
-static char *rcsid = "$Id: pmap_getmaps.c,v 1.2 1995/05/30 05:41:23 rgrimes Exp $";
+static char *rcsid = "$Id: pmap_getmaps.c,v 1.3 1995/10/22 14:51:29 phk Exp $";
#endif
/*
@@ -54,8 +54,6 @@ static char *rcsid = "$Id: pmap_getmaps.c,v 1.2 1995/05/30 05:41:23 rgrimes Exp
#define NAMELEN 255
#define MAX_BROADCAST_SIZE 1400
-extern int errno;
-
/*
* Get a copy of the current port maps.
* Calls the pmap service remotely to do get the maps.
OpenPOWER on IntegriCloud