From owner-cvs-lib Mon Jun 10 13:13:38 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA14075 for cvs-lib-outgoing; Mon, 10 Jun 1996 13:13:38 -0700 (PDT) Received: (from jraynard@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA14021; Mon, 10 Jun 1996 13:13:14 -0700 (PDT) Date: Mon, 10 Jun 1996 13:13:14 -0700 (PDT) From: James Raynard Message-Id: <199606102013.NAA14021@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/rpc auth_unix.c clnt_perror.c clnt_simple.c getrpcent.c pmap_prot2.c rpc_dtablesize.c rpc_prot.c svc_simple.c svc_tcp.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jraynard 96/06/10 13:13:13 Modified: lib/libc/rpc auth_unix.c clnt_perror.c clnt_simple.c getrpcent.c pmap_prot2.c rpc_dtablesize.c rpc_prot.c svc_simple.c svc_tcp.c Log: Code cleanup: 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 format specifier in printf(). 6. Added extra parentheses around assignment used as truth value. 7. Added missing "default" cases in switch statements. 8. Added casts for function pointers. 9. Did *not* change int declarations of uid and gid to uid_t/gid_t because I don't know if that would affect the protocol. Put in explicit casts to int instead, to make things more obvious. 10. Moved declarations of variables that are only used if YP is defined inside the '#ifdef YP' conditionals. Revision Changes Path 1.6 +6 -4 src/lib/libc/rpc/auth_unix.c 1.5 +3 -1 src/lib/libc/rpc/clnt_perror.c 1.4 +3 -2 src/lib/libc/rpc/clnt_simple.c 1.4 +4 -3 src/lib/libc/rpc/getrpcent.c 1.3 +2 -2 src/lib/libc/rpc/pmap_prot2.c 1.4 +2 -1 src/lib/libc/rpc/rpc_dtablesize.c 1.3 +7 -1 src/lib/libc/rpc/rpc_prot.c 1.4 +6 -3 src/lib/libc/rpc/svc_simple.c 1.6 +4 -4 src/lib/libc/rpc/svc_tcp.c