Cleanup for GCC 2.
This commit is contained in:
parent
67dc9247fd
commit
abe115cd90
|
@ -43,6 +43,7 @@ static char sccsid[] = "@(#)printf.c 5.9 (Berkeley) 6/1/90";
|
|||
|
||||
#include <sys/types.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#define PF(f, func) { \
|
||||
if (fieldwidth) \
|
||||
|
@ -65,7 +66,7 @@ main(argc, argv)
|
|||
static char *skip1, *skip2;
|
||||
register char *format, *fmt, *start;
|
||||
register int end, fieldwidth, precision;
|
||||
char convch, nextch, *getstr(), *index(), *mklong();
|
||||
char convch, nextch, *getstr(), *mklong();
|
||||
double getdouble();
|
||||
long getlong();
|
||||
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
#include <netinet/in.h>
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <pwd.h>
|
||||
#include <grp.h>
|
||||
|
|
|
@ -57,8 +57,7 @@ int expany; /* any expansions done? */
|
|||
char *entp;
|
||||
char **sortbase;
|
||||
|
||||
char *index();
|
||||
int argcmp();
|
||||
static int argcmp();
|
||||
|
||||
#define sort() qsort((char *)sortbase, &eargv[eargc] - sortbase, \
|
||||
sizeof(*sortbase), argcmp), sortbase = &eargv[eargc]
|
||||
|
|
|
@ -53,7 +53,7 @@ static char sccsid[] = "@(#)rpcinfo.c 1.22 87/08/12 SMI";
|
|||
#define MAXHOSTLEN 256
|
||||
|
||||
#define MIN_VERS ((u_long) 0)
|
||||
#define MAX_VERS ((u_long) 4294967295L)
|
||||
#define MAX_VERS ((u_long) 4294967295UL)
|
||||
|
||||
static void udpping(/*u_short portflag, int argc, char **argv*/);
|
||||
static void tcpping(/*u_short portflag, int argc, char **argv*/);
|
||||
|
|
Loading…
Reference in New Issue