summaryrefslogtreecommitdiff
path: root/usr/src/cmd/pg
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/pg')
-rw-r--r--usr/src/cmd/pg/pg.c16
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);
}
/*