btrfs-progs: kerncompat: define __always_inline conditionally
The CI build prints a lot of warnings [CC] btrfs.o In file included from volumes.h:22, from btrfs.c:22: kerncompat.h:39: warning: "__always_inline" redefined #define __always_inline __inline __attribute__ ((__always_inline__)) so define the macro conditionally. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
8dbcf826ca
commit
0a688a4454
|
@ -36,9 +36,13 @@
|
|||
#ifndef BTRFS_DISABLE_BACKTRACE
|
||||
#define BTRFS_DISABLE_BACKTRACE
|
||||
#endif
|
||||
|
||||
#ifndef __always_inline
|
||||
#define __always_inline __inline __attribute__ ((__always_inline__))
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef BTRFS_DISABLE_BACKTRACE
|
||||
#include <execinfo.h>
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue