Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/config Don't shadow global 'devname' on macppc.
details: https://anonhg.NetBSD.org/src/rev/7c5c0cd450c3
branches: trunk
changeset: 332948:7c5c0cd450c3
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Sun Oct 12 15:35:40 2014 +0000
description:
Don't shadow global 'devname' on macppc.
diffstat:
usr.bin/config/sem.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (25 lines):
diff -r 807dcab3b6c8 -r 7c5c0cd450c3 usr.bin/config/sem.c
--- a/usr.bin/config/sem.c Sun Oct 12 14:53:46 2014 +0000
+++ b/usr.bin/config/sem.c Sun Oct 12 15:35:40 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sem.c,v 1.62 2014/10/11 17:27:42 martin Exp $ */
+/* $NetBSD: sem.c,v 1.63 2014/10/12 15:35:40 uebayasi Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -142,12 +142,12 @@
}
static void
-mergedeps(const char *devname, const char *name)
+mergedeps(const char *dname, const char *name)
{
struct attr *a, *newa;
- CFGDBG(4, "merging attr `%s' to devbase `%s'", name, devname);
- a = refattr(devname);
+ CFGDBG(4, "merging attr `%s' to devbase `%s'", name, dname);
+ a = refattr(dname);
if (finddep(a, name) == NULL) {
newa = refattr(name);
a->a_deps = attrlist_cons(a->a_deps, newa);
Home |
Main Index |
Thread Index |
Old Index