Clean up all the lint cpplint can find in the dynamic linker.

Change-Id: Ic9ee7153817c22a252cc4b309283e355b623cab9
This commit is contained in:
Elliott Hughes
2014-02-11 16:59:37 -08:00
parent 577fce0108
commit faf05bacd4
4 changed files with 61 additions and 84 deletions

View File

@@ -58,12 +58,12 @@
__LIBC_HIDDEN__ extern int gLdDebugVerbosity;
#if LINKER_DEBUG_TO_LOG
#define _PRINTVF(v,x...) \
#define _PRINTVF(v, x...) \
do { \
if (gLdDebugVerbosity > (v)) __libc_format_log(5-(v),"linker",x); \
if (gLdDebugVerbosity > (v)) __libc_format_log(5-(v), "linker", x); \
} while (0)
#else /* !LINKER_DEBUG_TO_LOG */
#define _PRINTVF(v,x...) \
#define _PRINTVF(v, x...) \
do { \
if (gLdDebugVerbosity > (v)) { __libc_format_fd(1, x); write(1, "\n", 1); } \
} while (0)
@@ -79,6 +79,6 @@ __LIBC_HIDDEN__ extern int gLdDebugVerbosity;
#define DEBUG(x...) do {} while (0)
#endif /* TRACE_DEBUG */
#define TRACE_TYPE(t,x...) do { if (DO_TRACE_##t) { TRACE(x); } } while (0)
#define TRACE_TYPE(t, x...) do { if (DO_TRACE_##t) { TRACE(x); } } while (0)
#endif /* _LINKER_DEBUG_H_ */