From 3593f37fd7b599e217bd1f894ac671a14a058b8d Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Tue, 14 Jul 2015 00:19:54 +0100 Subject: egl: remove custom string functions Support for Windows has been removed for a while now, and virtually every POSIX compliant system provides strcasecmp, strdup and snprintf. Signed-off-by: Emil Velikov Reviewed-by: Matt Turner --- src/egl/main/egllog.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/egl/main/egllog.c') diff --git a/src/egl/main/egllog.c b/src/egl/main/egllog.c index 1877d8bfd10..956946532cd 100644 --- a/src/egl/main/egllog.c +++ b/src/egl/main/egllog.c @@ -38,10 +38,11 @@ #include #include #include +#include +#include #include "c11/threads.h" #include "egllog.h" -#include "eglstring.h" #define MAXSTRING 1000 #define FALLBACK_LOG_LEVEL _EGL_WARNING @@ -146,7 +147,7 @@ _eglInitLogger(void) log_env = getenv("EGL_LOG_LEVEL"); if (log_env) { for (i = 0; level_strings[i]; i++) { - if (_eglstrcasecmp(log_env, level_strings[i]) == 0) { + if (strcasecmp(log_env, level_strings[i]) == 0) { level = i; break; } -- cgit v1.2.3