diff options
| author | muffin <none@none> | 2005-07-21 18:07:20 -0700 |
|---|---|---|
| committer | muffin <none@none> | 2005-07-21 18:07:20 -0700 |
| commit | 4fce32e15d9c284a06aea2e40852f6674f03b63e (patch) | |
| tree | 03e77a4f30df466df83386a7531dd0aa256f1338 /usr/src/cmd/pg | |
| parent | a77d64af7813dad3dad148a9974e0ec7b80d1f43 (diff) | |
| download | illumos-joyent-4fce32e15d9c284a06aea2e40852f6674f03b63e.tar.gz | |
6272085 gcc and cmd/pg don't get along
6273811 gcc and cmd/rmdir don't get along
6273885 gcc and cmd/split don't get along
6273893 gcc and cmd/strings don't get along
6273915 gcc and cmd/tcopy don't get along
6273937 gcc and cmd/tr don't get along
6273938 gcc and cmd/tr_xpg4 don't get along
6273948 gcc and cmd/unlink don't get along
Diffstat (limited to 'usr/src/cmd/pg')
| -rw-r--r-- | usr/src/cmd/pg/pg.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/usr/src/cmd/pg/pg.c b/usr/src/cmd/pg/pg.c index 56fd9a697f..d39c911908 100644 --- a/usr/src/cmd/pg/pg.c +++ b/usr/src/cmd/pg/pg.c @@ -19,15 +19,15 @@ * * CDDL HEADER END */ -/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ -/* All Rights Reserved */ - /* * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ +/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ +/* All Rights Reserved */ + #pragma ident "%Z%%M% %I% %E% SMI" #include <signal.h> @@ -187,9 +187,8 @@ static off_t eofl_no; /* what the last line of the file is */ static void usage(void); static FILE *pg_stdin; -main(argc, argv) -int argc; -char *argv[]; +int +main(int argc, char **argv) { char *s; char *p; @@ -331,8 +330,7 @@ char *argv[]; while (fnum < nfiles) { if (strcmp(fnames[fnum], "") == 0) fnames[fnum] = "-"; - if ((in_file = checkf(fnames[fnum])) == NULL) - { + if ((in_file = checkf(fnames[fnum])) == NULL) { status = 2; fnum++; } else { @@ -1090,7 +1088,7 @@ help() "\n" "See the manual page for more detail.\n" "-------------------------------------------------------\n"), - stdout); + stdout); } /* |
