]> jfr.im git - irc/atheme/libmowgli-2.git/commitdiff
Remove alwaysinline, can't be used usefully cross unit
authorPatrick McFarland <redacted>
Mon, 18 Feb 2013 02:09:13 +0000 (21:09 -0500)
committerPatrick McFarland <redacted>
Mon, 18 Feb 2013 02:09:13 +0000 (21:09 -0500)
src/libmowgli/platform/attributes.h

index 3abf2c8a6e8139a14fb40c6437e619af527248a7..0c70e386cd3361341914da8eea2603774c3bb811 100644 (file)
 #define MOWGLI_DEPRECATED(proto, msg) proto
 #endif
 
-/* Always inline */
-#if defined MOWGLI_COMPILER_GCC_COMPAT
-#define MOWGLI_ALWAYSINLINE(proto) proto __attribute__((always_inline))
-#elif defined MOWGLI_COMPILER_MSVC
-#define MOWGLI_ALWAYSINLINE(proto) __forceinline proto
-#else
-#define MOWGLI_ALWAYSINLINE(proto) inline proto
-#endif
-
 /* printf, n is number of args to skip to get to fmt */
 #if defined MOWGLI_COMPILER_GCC_COMPAT
 #define MOWGLI_PRINTF(proto, n) proto __attribute__((format (printf, n, n + 1)))