From: Mathieu Desnoyers Date: Tue, 21 Feb 2012 16:48:28 +0000 (-0500) Subject: Remove gettid warning X-Git-Tag: v2.1.0-rc1~97^2~13 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d02d8cf80d1d12c9686f3507a6efb978a36831c5;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();