From 0cf86f0fc34c7daf020a9189279644af89e273a1 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sun, 29 Nov 1998 14:38:34 +0000 Subject: [PATCH] Renamed `DEBUG' symbol to `DEBUGGING' to prevent collisions with token names and include files. --- lib/ipv4.h | 2 +- nest/rt-fib.c | 2 +- sysdep/config.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ipv4.h b/lib/ipv4.h index 81fa046b..c37ea803 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 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 */