summaryrefslogtreecommitdiffstats
path: root/src/macro.h
diff options
context:
space:
mode:
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*));