summaryrefslogtreecommitdiffstats
path: root/src/macro.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-07-25 17:20:40 +0200
committerLennart Poettering <lennart@poettering.net>2008-07-25 17:20:40 +0200
commit97a0556585171cb1bbf91a7d1aec1e937414eb2e (patch)
tree6061245ada188c5c3f5296fa6bb0449612f794f8 /src/macro.h
parent7b3e7ec77c5121bb2ac78ae3545ca9ac9998b30b (diff)
move ca_debug to a proper source files
Diffstat (limited to 'src/macro.h')
-rw-r--r--src/macro.h9
1 files changed, 1 insertions, 8 deletions
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*));