Move UC_INLINE to utils.h
This commit is contained in:
+1
-12
@@ -2,18 +2,7 @@
|
||||
#define UC_PACK_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#ifndef UC_INLINE
|
||||
#ifdef __GNUC__
|
||||
# ifdef __clang__
|
||||
# define UC_INLINE inline __attribute__((always_inline))
|
||||
# else
|
||||
# define UC_INLINE inline __attribute__((always_inline,flatten))
|
||||
# endif
|
||||
#else
|
||||
# define UC_INLINE inline
|
||||
#endif
|
||||
#endif
|
||||
#include "utils.h"
|
||||
|
||||
/** @file
|
||||
* Functions for serializing/de-serializing integers to and from
|
||||
|
||||
Reference in New Issue
Block a user