From owner-cvs-lib Sun Jun 9 17:49:29 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA21845 for cvs-lib-outgoing; Sun, 9 Jun 1996 17:49:29 -0700 (PDT) Received: (from jraynard@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA21829; Sun, 9 Jun 1996 17:49:21 -0700 (PDT) Date: Sun, 9 Jun 1996 17:49:21 -0700 (PDT) From: James Raynard Message-Id: <199606100049.RAA21829@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/rpc bindresvport.c clnt_tcp.c clnt_udp.c pmap_getmaps.c pmap_rmt.c svc.c svc_run.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jraynard 96/06/09 17:49:20 Modified: lib/libc/rpc bindresvport.c clnt_tcp.c clnt_udp.c pmap_getmaps.c pmap_rmt.c svc.c svc_run.c Log: 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. Revision Changes Path 1.4 +2 -3 src/lib/libc/rpc/bindresvport.c 1.6 +9 -5 src/lib/libc/rpc/clnt_tcp.c 1.7 +5 -3 src/lib/libc/rpc/clnt_udp.c 1.4 +1 -3 src/lib/libc/rpc/pmap_getmaps.c 1.6 +2 -2 src/lib/libc/rpc/pmap_rmt.c 1.4 +3 -3 src/lib/libc/rpc/svc.c 1.3 +8 -3 src/lib/libc/rpc/svc_run.c