mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 01:31:55 +00:00
Renamed DEBUG' symbol to
DEBUGGING' to prevent collisions with token
names and include files.
This commit is contained in:
parent
7af99789c7
commit
0cf86f0fc3
@ -13,7 +13,7 @@
|
||||
|
||||
#include "lib/bitops.h"
|
||||
|
||||
#ifdef DEBUG
|
||||
#ifdef DEBUGGING
|
||||
|
||||
/*
|
||||
* 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;
|
||||
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
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
/* Include debugging code */
|
||||
|
||||
#define DEBUG
|
||||
#define DEBUGGING
|
||||
|
||||
/* Types */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user