summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-07-28 02:03:27 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-07-28 02:03:27 +0000
commitf7bf9cb6992d81b7dc1f077c25f4c8c3447902b2 (patch)
treec38a1f0bdafb5f8ea4d5857ae070e7397d2e4866 /usr.bin
parent0f2e018e03bf5280bba290a64455910081c8d3f7 (diff)
silence gcc in super-pedantic mode; based on freebsd pr#1427
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/yacc/skeleton.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/yacc/skeleton.c b/usr.bin/yacc/skeleton.c
index 097a9419f89..e3327fcfac2 100644
--- a/usr.bin/yacc/skeleton.c
+++ b/usr.bin/yacc/skeleton.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: skeleton.c,v 1.5 1996/05/20 07:31:54 tholo Exp $ */
+/* $OpenBSD: skeleton.c,v 1.6 1996/07/28 02:03:26 deraadt Exp $ */
/* $NetBSD: skeleton.c,v 1.10 1996/03/25 00:36:18 mrg Exp $ */
/*
@@ -63,7 +63,7 @@ char *banner[] =
{
"#ifndef lint",
"/*static char yysccsid[] = \"from: @(#)yaccpar 1.9 (Berkeley) 02/21/93\";*/",
- "static char yyrcsid[] = \"$OpenBSD: skeleton.c,v 1.5 1996/05/20 07:31:54 tholo Exp $\";",
+ "static char yyrcsid[] = \"$OpenBSD: skeleton.c,v 1.6 1996/07/28 02:03:26 deraadt Exp $\";",
"#endif",
"#include <stdlib.h>",
"#define YYBYACC 1",
@@ -175,7 +175,7 @@ char *body[] =
"#if YYDEBUG",
" register char *yys;",
"",
- " if (yys = getenv(\"YYDEBUG\"))",
+ " if ((yys = getenv(\"YYDEBUG\")))",
" {",
" yyn = *yys;",
" if (yyn >= '0' && yyn <= '9')",