From 97a0556585171cb1bbf91a7d1aec1e937414eb2e Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 25 Jul 2008 17:20:40 +0200 Subject: move ca_debug to a proper source files --- src/macro.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/macro.h') diff --git a/src/macro.h b/src/macro.h index db8affe..efc57dc 100644 --- a/src/macro.h +++ b/src/macro.h @@ -162,14 +162,7 @@ typedef int ca_bool_t; -static inline ca_bool_t ca_debug(void) { - const char *d; - - if ((d = getenv("CANBERRA_DEBUG"))) - return !!*d; - - return FALSE; -} +ca_bool_t ca_debug(void); static inline size_t ca_align(size_t l) { return (((l + sizeof(void*) - 1) / sizeof(void*)) * sizeof(void*)); -- cgit