summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2003-11-25 20:00:15 +0000
committerespie <espie@openbsd.org>2003-11-25 20:00:15 +0000
commitbb467b009cb66a5eb456cb395ef34c41155e0a72 (patch)
treed1a245d67a750373521e22c868519b46a262322d
parentwording improvements from Brian Poole; (diff)
downloadwireguard-openbsd-bb467b009cb66a5eb456cb395ef34c41155e0a72.tar.xz
wireguard-openbsd-bb467b009cb66a5eb456cb395ef34c41155e0a72.zip
obvious fix for gcc3.
-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",