remove unused define and old inlining controls

This commit is contained in:
Alex Coyte 2016-10-27 14:29:34 +11:00 committed by Matthew Barr
parent 2341fe7baa
commit 05683655cb
2 changed files with 2 additions and 10 deletions

View File

@ -583,7 +583,7 @@ char nfaExecMcClellan16_Q2i(const struct NFA *n, u64a offset, const u8 *buffer,
}
}
static really_inline really_flatten
static really_inline
char nfaExecMcClellan16_Bi(const struct NFA *n, u64a offset,
const u8 *buffer, size_t length,
NfaCallback cb, void *context, char single) {
@ -732,7 +732,7 @@ char nfaExecMcClellan8_Q2i(const struct NFA *n, u64a offset, const u8 *buffer,
}
}
static really_inline really_flatten
static really_inline
char nfaExecMcClellan8_Bi(const struct NFA *n, u64a offset, const u8 *buffer,
size_t length, NfaCallback cb, void *context,
char single) {

View File

@ -26,14 +26,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#if defined(__INTEL_COMPILER) || defined(__clang__) || defined(_WIN32) || defined(__GNUC__) && (__GNUC__ < 4)
#define really_flatten
#else
#define really_flatten __attribute__ ((flatten))
#endif
#define CASE_MASK 0xdf
enum MatchMode {
CALLBACK_OUTPUT,
STOP_AT_MATCH,