Skip to content

Commit 63ce7e2

Browse files
committed
nsi_utils: Add macro to define static inline functions
Just a new macro Signed-off-by: Alberto Escolar Piedras <[email protected]>
1 parent 6035bd8 commit 63ce7e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

common/src/include/nsi_utils.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131

3232
#define NSI_FUNC_NORETURN __attribute__((__noreturn__))
3333
#define NSI_WEAK __attribute__((__weak__))
34+
#define NSI_INLINE static __attribute__((__always_inline__)) inline
3435

3536
#if defined(__clang__)
3637
/* The address sanitizer in llvm adds padding (redzones) after data

0 commit comments

Comments
 (0)