Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/bin/sh put back some volatile, gcc complains (x86_64)



details:   https://anonhg.NetBSD.org/src/rev/07fa0211044d
branches:  trunk
changeset: 343988:07fa0211044d
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Mar 08 14:11:56 2016 +0000

description:
put back some volatile, gcc complains (x86_64)

diffstat:

 bin/sh/parser.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 614f2340b572 -r 07fa0211044d bin/sh/parser.c
--- a/bin/sh/parser.c   Tue Mar 08 14:10:04 2016 +0000
+++ b/bin/sh/parser.c   Tue Mar 08 14:11:56 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: parser.c,v 1.103 2016/03/08 14:10:04 christos Exp $    */
+/*     $NetBSD: parser.c,v 1.104 2016/03/08 14:11:56 christos Exp $    */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)parser.c   8.7 (Berkeley) 5/16/95";
 #else
-__RCSID("$NetBSD: parser.c,v 1.103 2016/03/08 14:10:04 christos Exp $");
+__RCSID("$NetBSD: parser.c,v 1.104 2016/03/08 14:11:56 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -1091,8 +1091,8 @@
        int len;
        char line[EOFMARKLEN + 1];
        struct nodelist *bqlist;
-       int quotef;
-       int oldstyle;
+       volatile int quotef;
+       volatile int oldstyle;
        VSS static_stack;
        VSS *stack = &static_stack;
        VVSS *vstack = stack;



Home | Main Index | Thread Index | Old Index