Remove ALWAYS_INLINE

Didn't do what I wanted it to anyway.
This commit is contained in:
Kenny Levinsen 2020-08-01 23:10:24 +02:00
parent 2be0826959
commit d26466bf3b
2 changed files with 5 additions and 12 deletions

View file

@ -3,16 +3,10 @@
#ifdef __GNUC__
#define ATTRIB_PRINTF(start, end) __attribute__((format(printf, start, end)))
#define LIBSEAT_EXPORT __attribute__((visibility("default")))
#else
#define ATTRIB_PRINTF(start, end)
#endif
#if defined(__GNUC__) && __GNUC__ >= 4
#define LIBSEAT_EXPORT __attribute__((visibility("default")))
#define ALWAYS_INLINE __attribute__((always_inline)) inline
#else
#define LIBSEAT_EXPORT
#define ALWAYS_INLINE inline
#endif
#define STRLEN(s) ((sizeof(s) / sizeof(s[0])) - 1)