Use "dbg_stream" rather than "stream" as a variable name in
authorMichael Brown <mcb30@etherboot.org>
Tue, 30 Jan 2007 10:12:19 +0000 (10:12 +0000)
committerMichael Brown <mcb30@etherboot.org>
Tue, 30 Jan 2007 10:12:19 +0000 (10:12 +0000)
DBG_AC_IF(), to avoid namespace collisions.

src/include/compiler.h

index 643ab25..18ca75c 100644 (file)
@@ -198,9 +198,9 @@ extern void dbg_hex_dump_da ( unsigned long dispaddr,
                        union {                                 \
                                unsigned long ul;               \
                                typeof ( id ) raw;              \
-                       } stream;                               \
-                       stream.raw = id;                        \
-                       dbg_autocolourise ( stream.ul );        \
+                       } dbg_stream;                           \
+                       dbg_stream.raw = id;                    \
+                       dbg_autocolourise ( dbg_stream.ul );    \
                }                                               \
        } while ( 0 )