summaryrefslogtreecommitdiff
path: root/usr/src/cmd/pg/pg.c
diff options
context:
space:
mode:
authorNathan Keynes <Nathan.Keynes@Sun.COM>2009-04-30 16:35:44 -0700
committerNathan Keynes <Nathan.Keynes@Sun.COM>2009-04-30 16:35:44 -0700
commit8883f1c270cc8e33c18dd088e744840092b47bbb (patch)
tree8158374df4c6ad96b23aae3de2c235943f3dcc7a /usr/src/cmd/pg/pg.c
parent2d2627043e43d2539979aab3fb55dafd776970e6 (diff)
downloadillumos-joyent-8883f1c270cc8e33c18dd088e744840092b47bbb.tar.gz
6795209 Enable compilation of ON-consolidation with GCC 4.2
6392640 rpcgen -h -T output does not compile with gcc 4.x
Diffstat (limited to 'usr/src/cmd/pg/pg.c')
-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();