From: Mathieu Desnoyers Date: Tue, 21 Feb 2012 16:48:28 +0000 (-0500) Subject: Remove gettid warning X-Git-Tag: v2.0.0-rc2~49 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=4f41890f998c2c3778213ed2a8938534fb3060e1;p=lttng-ust.git Remove gettid warning Not so important, hides really useful warnings. Signed-off-by: Mathieu Desnoyers --- 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();