From 0cf86f0fc34c7daf020a9189279644af89e273a1 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sun, 29 Nov 1998 14:38:34 +0000 Subject: 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 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 */ -- cgit v1.2.3