summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2003-11-25 20:00:16 +0000
committerMarc Espie <espie@cvs.openbsd.org>2003-11-25 20:00:16 +0000
commit735da5f8c0917e2182e8f693897d286fe0456ef8 (patch)
tree9e19841c0b97243b145bc7fb35770f0fc63bb743 /usr.bin
parent53950f257a7e0d1a1f52e4798da6f7d3b8632bf6 (diff)
obvious fix for gcc3.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/yacc/skeleton.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/yacc/skeleton.c b/usr.bin/yacc/skeleton.c
index c71765f2468..9329ccf9e93 100644
--- a/usr.bin/yacc/skeleton.c
+++ b/usr.bin/yacc/skeleton.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: skeleton.c,v 1.21 2003/06/19 16:34:53 pvalchev Exp $ */
+/* $OpenBSD: skeleton.c,v 1.22 2003/11/25 20:00:15 espie Exp $ */
/* $NetBSD: skeleton.c,v 1.10 1996/03/25 00:36:18 mrg Exp $ */
/*
@@ -60,10 +60,10 @@ char *banner[] =
"#ifndef lint",
"/*static char yysccsid[] = \"from: @(#)yaccpar 1.9 (Berkeley) 02/21/93\";*/",
"static char yyrcsid[]",
- "#if __GNUC__ == 2",
+ "#if __GNUC__ >= 2",
" __attribute__ ((unused))",
- "#endif /* __GNUC__ == 2 */",
- " = \"$OpenBSD: skeleton.c,v 1.21 2003/06/19 16:34:53 pvalchev Exp $\";",
+ "#endif /* __GNUC__ >= 2 */",
+ " = \"$OpenBSD: skeleton.c,v 1.22 2003/11/25 20:00:15 espie Exp $\";",
"#endif",
"#include <stdlib.h>",
"#define YYBYACC 1",