From 273973c0f59628f3dc242fdf1a41d5f275b290e2 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Tue, 21 Feb 2012 11:48:28 -0500 Subject: [PATCH] Remove gettid warning commit d02d8cf80d1d12c9686f3507a6efb978a36831c5 upstream. Not so important, hides really useful warnings. Signed-off-by: Mathieu Desnoyers Signed-off-by: Christian Babeux --- include/lttng/ust-tid.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/lttng/ust-tid.h b/include/lttng/ust-tid.h index c6819f25..57272db8 100644 --- a/include/lttng/ust-tid.h +++ b/include/lttng/ust-tid.h @@ -34,7 +34,7 @@ static inline pid_t gettid(void) #include #include -#warning "use pid as tid" +/* Fall-back on getpid for tid if not available. */ static inline pid_t gettid(void) { return getpid(); -- 2.34.1