AP_Common: moved NOINLINE define to AP_Common.h

This commit is contained in:
Andrew Tridgell 2015-05-21 09:35:26 +10:00
parent 78f02634d0
commit a1a3212131

View File

@ -44,6 +44,9 @@
// this can be used to optimize individual functions
#define OPTIMIZE(level) __attribute__((optimize(level)))
// sometimes we need to prevent inlining to prevent large stack usage
#define NOINLINE __attribute__((noinline))
// Make some dire warnings into errors
//
// Some warnings indicate questionable code; rather than let