Renamed DEBUG' symbol to
DEBUGGING' to prevent collisions with token
names and include files.
This commit is contained in:
parent
7af99789c7
commit
0cf86f0fc3
3 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
#include "lib/bitops.h"
|
#include "lib/bitops.h"
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUGGING
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Use the structural representation when you want to make sure
|
* Use the structural representation when you want to make sure
|
||||||
|
|
|
@ -105,7 +105,7 @@ fib_get(struct fib *f, ip_addr *a, int len)
|
||||||
e = e->next;
|
e = e->next;
|
||||||
if (e)
|
if (e)
|
||||||
return e;
|
return e;
|
||||||
#ifdef DEBUG
|
#ifdef DEBUGGING
|
||||||
if (len < 0 || len > BITS_PER_IP_ADDRESS || !ip_is_prefix(*a,len))
|
if (len < 0 || len > BITS_PER_IP_ADDRESS || !ip_is_prefix(*a,len))
|
||||||
die("fib_get() called for invalid address");
|
die("fib_get() called for invalid address");
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
/* Include debugging code */
|
/* Include debugging code */
|
||||||
|
|
||||||
#define DEBUG
|
#define DEBUGGING
|
||||||
|
|
||||||
/* Types */
|
/* Types */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue