aboutsummaryrefslogtreecommitdiff
path: root/tests/suites/helpers.function
diff options
context:
space:
mode:
authorGilles Peskine <Gilles.Peskine@arm.com>2022-12-04 13:34:50 +0100
committerGilles Peskine <Gilles.Peskine@arm.com>2023-04-26 19:38:40 +0200
commit6c607e5a559521cba2fc2c2b3223c461db9d31ef (patch)
treef8bbff921af0ac1c881c53023fc69e18fe6c2cb6 /tests/suites/helpers.function
parent017f0b73694150b66e4db6d4399e5e57fe7d7257 (diff)
downloadmbedtls-6c607e5a559521cba2fc2c2b3223c461db9d31ef.zip
mbedtls-6c607e5a559521cba2fc2c2b3223c461db9d31ef.tar.gz
mbedtls-6c607e5a559521cba2fc2c2b3223c461db9d31ef.tar.bz2
Remove declarations of the nonstandard function strcasecmp
It is no longer used. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
Diffstat (limited to 'tests/suites/helpers.function')
-rw-r--r--tests/suites/helpers.function6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/suites/helpers.function b/tests/suites/helpers.function
index 60eae9a..8f0cc2b 100644
--- a/tests/suites/helpers.function
+++ b/tests/suites/helpers.function
@@ -24,18 +24,12 @@
typedef UINT8 uint8_t;
typedef INT32 int32_t;
typedef UINT32 uint32_t;
-#define strncasecmp _strnicmp
-#define strcasecmp _stricmp
#else
#include <stdint.h>
#endif
#include <string.h>
-#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)) || defined(__MINGW32__)
-#include <strings.h>
-#endif
-
#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))
#include <unistd.h>
#endif