summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1998-11-29 15:38:34 +0100
committerMartin Mares <mj@ucw.cz>1998-11-29 15:38:34 +0100
commit0cf86f0fc34c7daf020a9189279644af89e273a1 (patch)
treeba8b74026077fb02749bc6bfe0a9d60a2ea2db14
parent7af99789c78894fa2c7ffce3d7172d6a46c1c0e3 (diff)
downloadbird-0cf86f0fc34c7daf020a9189279644af89e273a1.tar
bird-0cf86f0fc34c7daf020a9189279644af89e273a1.zip
Renamed `DEBUG' symbol to `DEBUGGING' to prevent collisions with token
names and include files.
-rw-r--r--lib/ipv4.h2
-rw-r--r--nest/rt-fib.c2
-rw-r--r--sysdep/config.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/ipv4.h b/lib/ipv4.h
index 81fa046..c37ea80 100644
--- a/lib/ipv4.h
+++ b/lib/ipv4.h
@@ -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 1522906..3840712 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 27b9da3..90ab8bb 100644
--- a/sysdep/config.h
+++ b/sysdep/config.h
@@ -13,7 +13,7 @@
/* Include debugging code */
-#define DEBUG
+#define DEBUGGING
/* Types */