Module Name: src Committed By: kre Date: Sat Jun 17 04:12:06 UTC 2017
Modified Files: src/bin/sh: var.c Log Message: s/volatile/const/ -- wonderful how opposites attract like this. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/bin/sh/var.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/bin/sh/var.c diff -u src/bin/sh/var.c:1.58 src/bin/sh/var.c:1.59 --- src/bin/sh/var.c:1.58 Wed Jun 7 08:06:22 2017 +++ src/bin/sh/var.c Sat Jun 17 04:12:06 2017 @@ -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 @@ int 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))