diff options
author | Martin Mares <mj@ucw.cz> | 1998-11-29 14:38:34 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1998-11-29 14:38:34 +0000 |
commit | 0cf86f0fc34c7daf020a9189279644af89e273a1 (patch) | |
tree | ba8b74026077fb02749bc6bfe0a9d60a2ea2db14 | |
parent | 7af99789c78894fa2c7ffce3d7172d6a46c1c0e3 (diff) |
Renamed `DEBUG' symbol to `DEBUGGING' to prevent collisions with token
names and include files.
-rw-r--r-- | lib/ipv4.h | 2 | ||||
-rw-r--r-- | nest/rt-fib.c | 2 | ||||
-rw-r--r-- | sysdep/config.h | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -13,7 +13,7 @@ #include "lib/bitops.h" -#ifdef DEBUG +#ifdef DEBUGGING /* * Use the structural representation when you want to make sure diff --git a/nest/rt-fib.c b/nest/rt-fib.c index 1522906e..3840712b 100644 --- a/nest/rt-fib.c +++ b/nest/rt-fib.c @@ -105,7 +105,7 @@ fib_get(struct fib *f, ip_addr *a, int len) e = e->next; if (e) return e; -#ifdef DEBUG +#ifdef DEBUGGING if (len < 0 || len > BITS_PER_IP_ADDRESS || !ip_is_prefix(*a,len)) die("fib_get() called for invalid address"); #endif diff --git a/sysdep/config.h b/sysdep/config.h index 27b9da36..90ab8bbc 100644 --- a/sysdep/config.h +++ b/sysdep/config.h @@ -13,7 +13,7 @@ /* Include debugging code */ -#define DEBUG +#define DEBUGGING /* Types */ |