From: Mathieu Desnoyers Date: Fri, 14 Jun 2013 15:55:08 +0000 (-0400) Subject: zmalloc: attribute always_inline X-Git-Tag: v2.3.0-rc1~32 X-Git-Url: http://git.lttng.org/?p=lttng-ust.git;a=commitdiff_plain;h=415dfaf718b209207bf492a5f9afa571f76d789c zmalloc: attribute always_inline Signed-off-by: Mathieu Desnoyers --- diff --git a/include/helper.h b/include/helper.h index 8aeb7728..b9448e33 100644 --- a/include/helper.h +++ b/include/helper.h @@ -21,7 +21,7 @@ #include -static inline +static inline __attribute__((always_inline)) void *zmalloc(size_t len) { return calloc(len, 1);