summaryrefslogtreecommitdiff
path: root/usr/src/cmd/pg
diff options
context:
space:
mode:
authorScott Rotondo <Scott.Rotondo@Sun.COM>2009-05-21 22:03:24 -0700
committerScott Rotondo <Scott.Rotondo@Sun.COM>2009-05-21 22:03:24 -0700
commitd67944fbe3fa0b31893a7116a09b0718eecf6078 (patch)
tree89b9d2ec857c47e00acc2668cbdafa2edce45b14 /usr/src/cmd/pg
parent259105bc352a464b4cdf3f424b5575e5e5e3f247 (diff)
downloadillumos-joyent-d67944fbe3fa0b31893a7116a09b0718eecf6078.tar.gz
6795209 Enable compilation of ON-consolidation with GCC 4.2
6392640 rpcgen -h -T output does not compile with gcc 4.x --HG-- rename : usr/src/stand/lib/fs/nfs/pathname.h => usr/src/stand/lib/fs/nfs/st_pathname.h
Diffstat (limited to 'usr/src/cmd/pg')
-rw-r--r--usr/src/cmd/pg/pg.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr/src/cmd/pg/pg.c b/usr/src/cmd/pg/pg.c
index 5a1767420c..22f54c6886 100644
--- a/usr/src/cmd/pg/pg.c
+++ b/usr/src/cmd/pg/pg.c
@@ -20,15 +20,13 @@
*/
/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 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>
#include <setjmp.h>
#include <sys/types.h>
@@ -859,7 +857,6 @@ ttyin()
int state = 0;
int width, length;
char multic[MB_LEN_MAX];
- static int readch();
int len;
(void) fixterm();