mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
remove unused define and old inlining controls
This commit is contained in:
parent
2341fe7baa
commit
05683655cb
@ -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) {
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user