From: Mathieu Desnoyers Date: Fri, 14 Jun 2013 15:55:08 +0000 (-0400) Subject: zmalloc: attribute always_inline X-Git-Tag: v2.2.0-rc3~8 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=312876ad18b51b3c56318a55e52be8e69556dc43;p=lttng-ust.git 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);