[Xorp-hackers] [PATCH] xorp: libproto: spt.hh: Fix compiling with debug_fn set to true

igorm at etf.rs igorm at etf.rs
Wed Feb 1 01:57:33 PST 2012


From: Igor Maravic <igorm at etf.rs>

Commented definition of DEBUG_PRINT_FUNCTION_NAME,
so it wouldn't be defined twice.
First definition of DEBUG_PRINT_FUNCTION_NAME is in cli interface
if debug_fn is set to true.
Also, removed unecessary, commented, #define DEBUG_LOGGING.

Signed-off-by: Igor Maravic <igorm at etf.rs>
---
 xorp/libproto/spt.hh |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/xorp/libproto/spt.hh b/xorp/libproto/spt.hh
index f5b64ab..396452f 100644
--- a/xorp/libproto/spt.hh
+++ b/xorp/libproto/spt.hh
@@ -26,9 +26,6 @@
 
 // #define INCREMENTAL_SPT
 
-//#define DEBUG_LOGGING
-#define DEBUG_PRINT_FUNCTION_NAME
-
 #include "libxorp/ref_ptr.hh"
 #include "libxorp/c_format.hh"
 
-- 
1.7.5.4



More information about the Xorp-hackers mailing list