Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/libdwarf/dist while (0) -> while (/*CONSTCOND*/0)



details:   https://anonhg.NetBSD.org/src/rev/516a37f1b068
branches:  trunk
changeset: 750278:516a37f1b068
user:      darran <darran%NetBSD.org@localhost>
date:      Wed Dec 23 00:11:30 2009 +0000

description:
while (0) -> while (/*CONSTCOND*/0)

diffstat:

 external/bsd/libdwarf/dist/_libdwarf.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 03c064a6a2e5 -r 516a37f1b068 external/bsd/libdwarf/dist/_libdwarf.h
--- a/external/bsd/libdwarf/dist/_libdwarf.h    Wed Dec 23 00:10:15 2009 +0000
+++ b/external/bsd/libdwarf/dist/_libdwarf.h    Wed Dec 23 00:11:30 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: _libdwarf.h,v 1.1.1.1 2009/12/23 00:03:27 darran Exp $ */
+/*     $NetBSD: _libdwarf.h,v 1.2 2009/12/23 00:11:30 darran Exp $     */
 
 /*-
  * Copyright (c) 2007 John Birrell (jb%freebsd.org@localhost)
@@ -66,7 +66,7 @@
        _e->err_func  = __func__;                       \
        _e->err_line  = __LINE__;                       \
        _e->err_msg[0] = '\0';                          \
-       } while (0)
+       } while (/*CONSTCOND*/0)
 
 #define        DWARF_SET_ELF_ERROR(_e, _err)   do {            \
        _e->err_error = DWARF_E_ELF;                    \
@@ -74,7 +74,7 @@
        _e->err_func  = __func__;                       \
        _e->err_line  = __LINE__;                       \
        _e->err_msg[0] = '\0';                          \
-       } while (0)
+       } while (/*CONSTCOND*/0)
 
 struct _Dwarf_AttrValue {
        uint64_t        av_attrib;      /* DW_AT_ */



Home | Main Index | Thread Index | Old Index