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

igorm at etf.rs igorm at etf.rs
Fri Jan 27 05:48:00 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.

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

diff --git a/xorp/libproto/spt.hh b/xorp/libproto/spt.hh
index f5b64ab..f6edadf 100644
--- a/xorp/libproto/spt.hh
+++ b/xorp/libproto/spt.hh
@@ -27,7 +27,7 @@
 // #define INCREMENTAL_SPT
 
 //#define DEBUG_LOGGING
-#define DEBUG_PRINT_FUNCTION_NAME
+//#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