[lttng-dev] [lttng-tool PATCH] Fix compilation fail if NTESTPOINT is defined

Yannick Brosseau yannick.brosseau at gmail.com
Tue Oct 1 13:28:45 EDT 2013


Signed-off-by: Yannick Brosseau <yannick.brosseau at gmail.com>
---
 src/common/testpoint/testpoint.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/common/testpoint/testpoint.h b/src/common/testpoint/testpoint.h
index dc5be83..f0d79f0 100644
--- a/src/common/testpoint/testpoint.h
+++ b/src/common/testpoint/testpoint.h
@@ -17,8 +17,8 @@
 
 #ifdef NTESTPOINT
 
-#define testpoint(name)
-#define TESTPOINT_DECL(name)
+#define testpoint(name) (0)
+#define TESTPOINT_DECL(name) (0)
 
 #else /* NTESTPOINT */
 
-- 
1.8.4.rc3




More information about the lttng-dev mailing list