Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/alpha/include use __USE() in the iterator variable



details:   https://anonhg.NetBSD.org/src/rev/f2e1fe2ab8e4
branches:  trunk
changeset: 791074:f2e1fe2ab8e4
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Nov 03 01:12:16 2013 +0000

description:
use __USE() in the iterator variable

diffstat:

 sys/arch/alpha/include/cpu.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 32cbdc52329d -r f2e1fe2ab8e4 sys/arch/alpha/include/cpu.h
--- a/sys/arch/alpha/include/cpu.h      Sun Nov 03 01:02:37 2013 +0000
+++ b/sys/arch/alpha/include/cpu.h      Sun Nov 03 01:12:16 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.h,v 1.78 2012/01/21 21:49:50 matt Exp $ */
+/* $NetBSD: cpu.h,v 1.79 2013/11/03 01:12:16 christos Exp $ */
 
 /*-
  * Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -147,7 +147,8 @@
 extern struct cpu_info *cpu_info_list;
 
 #define        CPU_INFO_ITERATOR               int
-#define        CPU_INFO_FOREACH(cii, ci)       cii = 0, ci = cpu_info_list; \
+#define        CPU_INFO_FOREACH(cii, ci)       cii = 0, __USE(cii), \
+                                       ci = cpu_info_list; \
                                        ci != NULL; ci = ci->ci_next
 
 #if defined(MULTIPROCESSOR)



Home | Main Index | Thread Index | Old Index