Source-Changes-HG archive

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

[src/trunk]: src/bin/sh s/volatile/const/ -- wonderful how opposites attract ...



details:   https://anonhg.NetBSD.org/src/rev/1460db380c45
branches:  trunk
changeset: 354448:1460db380c45
user:      kre <kre%NetBSD.org@localhost>
date:      Sat Jun 17 04:12:06 2017 +0000

description:
s/volatile/const/ -- wonderful how opposites attract like this.

diffstat:

 bin/sh/var.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 5b6e3bc30c1e -r 1460db380c45 bin/sh/var.c
--- a/bin/sh/var.c      Fri Jun 16 22:58:38 2017 +0000
+++ b/bin/sh/var.c      Sat Jun 17 04:12:06 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: var.c,v 1.58 2017/06/07 08:06:22 kre Exp $     */
+/*     $NetBSD: var.c,v 1.59 2017/06/17 04:12:06 kre Exp $     */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)var.c      8.3 (Berkeley) 5/4/95";
 #else
-__RCSID("$NetBSD: var.c,v 1.58 2017/06/07 08:06:22 kre Exp $");
+__RCSID("$NetBSD: var.c,v 1.59 2017/06/17 04:12:06 kre Exp $");
 #endif
 #endif /* not lint */
 
@@ -272,7 +272,7 @@
 setvarsafe(const char *name, const char *val, int flags)
 {
        struct jmploc jmploc;
-       struct jmploc *volatile savehandler = handler;
+       struct jmploc * const savehandler = handler;
        int volatile err = 0;
 
        if (setjmp(jmploc.loc))



Home | Main Index | Thread Index | Old Index