summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authordm <dm@cvs.openbsd.org>1998-11-18 03:22:56 +0000
committerdm <dm@cvs.openbsd.org>1998-11-18 03:22:56 +0000
commit15cb4ecc831ab1135584521f22b321dda2027f77 (patch)
treeb217933c0c56c4bb51c2fbabe462daa5de4801a3 /usr.bin
parent411b09d8db89b43c4f63ce76a38d9443a0bbce1d (diff)
drop the __attribute__ stuf in favor of a simple const
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/yacc/skeleton.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.bin/yacc/skeleton.c b/usr.bin/yacc/skeleton.c
index 539ace4fcce..50054b93ee3 100644
--- a/usr.bin/yacc/skeleton.c
+++ b/usr.bin/yacc/skeleton.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: skeleton.c,v 1.11 1998/11/17 06:13:43 dm Exp $ */
+/* $OpenBSD: skeleton.c,v 1.12 1998/11/18 03:22:55 dm Exp $ */
/* $NetBSD: skeleton.c,v 1.10 1996/03/25 00:36:18 mrg Exp $ */
/*
@@ -63,11 +63,7 @@ char *banner[] =
{
"#ifndef lint",
"/*static char yysccsid[] = \"from: @(#)yaccpar 1.9 (Berkeley) 02/21/93\";*/",
- "static char yyrcsid[]",
- "#if __GNUC__ == 2",
- " __attribute__ ((unused))",
- "#endif /* __GNUC__ == 2 */",
- " = \"$OpenBSD: skeleton.c,v 1.11 1998/11/17 06:13:43 dm Exp $\";",
+ "static const char yyrcsid[] = \"$OpenBSD: skeleton.c,v 1.12 1998/11/18 03:22:55 dm Exp $\";",
"#endif",
"#include <stdlib.h>",
"#define YYBYACC 1",