Get rid of clang warnings for UC_INLINE
This commit is contained in:
@@ -1,10 +1,16 @@
|
||||
#ifndef UC_TAILQ_H_
|
||||
#define UC_TAILQ_H_
|
||||
|
||||
#ifndef UC_INLINE
|
||||
#ifdef __GNUC__
|
||||
#define UC_INLINE inline __attribute__((always_inline,flatten))
|
||||
# ifdef __clang__
|
||||
# define UC_INLINE inline __attribute__((always_inline))
|
||||
# else
|
||||
# define UC_INLINE inline __attribute__((always_inline,flatten))
|
||||
# endif
|
||||
#else
|
||||
#define UC_INLINE inline
|
||||
# define UC_INLINE inline
|
||||
#endif
|
||||
#endif
|
||||
/**
|
||||
* Doubly Linked List.
|
||||
|
||||
Reference in New Issue
Block a user