Remove declarations of the nonstandard function strcasecmp

It is no longer used.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine 2022-12-04 13:34:50 +01:00
parent 017f0b7369
commit 6c607e5a55

View file

@ -24,18 +24,12 @@
typedef UINT8 uint8_t; typedef UINT8 uint8_t;
typedef INT32 int32_t; typedef INT32 int32_t;
typedef UINT32 uint32_t; typedef UINT32 uint32_t;
#define strncasecmp _strnicmp
#define strcasecmp _stricmp
#else #else
#include <stdint.h> #include <stdint.h>
#endif #endif
#include <string.h> #include <string.h>
#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)) || defined(__MINGW32__)
#include <strings.h>
#endif
#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)) #if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))
#include <unistd.h> #include <unistd.h>
#endif #endif