common: move u8_tolower to common header

pull/7882/head
Victor Julien 3 years ago
parent 18e63d4ede
commit 19e94e93fa

@ -413,6 +413,10 @@ typedef unsigned char u_char;
(b) = t; \
} while (0)
#include <ctype.h>
#define u8_tolower(c) ((uint8_t)tolower((uint8_t)(c)))
#define u8_toupper(c) ((uint8_t)toupper((uint8_t)(c)))
typedef enum PacketProfileDetectId_ {
PROF_DETECT_SETUP,
PROF_DETECT_GETSGH,

@ -173,10 +173,6 @@ extern uint16_t g_vlan_mask;
/* Flag to disable hashing (almost) globally. */
extern bool g_disable_hashing;
#include <ctype.h>
#define u8_tolower(c) ((uint8_t)tolower((uint8_t)(c)))
#define u8_toupper(c) ((uint8_t)toupper((uint8_t)(c)))
void EngineStop(void);
void EngineDone(void);

Loading…
Cancel
Save