diff options
author | Emil Velikov <[email protected]> | 2015-07-14 00:19:54 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2015-07-22 16:35:26 +0100 |
commit | 3593f37fd7b599e217bd1f894ac671a14a058b8d (patch) | |
tree | ea4a1a0c3db3136976f6c11a4ce38ad57d332652 /src/egl/main/egldriver.c | |
parent | d62879565a5c8479c3cfea513aa4e90f0d90b304 (diff) |
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 <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/egl/main/egldriver.c')
-rw-r--r-- | src/egl/main/egldriver.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/egl/main/egldriver.c b/src/egl/main/egldriver.c index 6ef79d96502..05ccd0e3796 100644 --- a/src/egl/main/egldriver.c +++ b/src/egl/main/egldriver.c @@ -39,7 +39,6 @@ #include <stdlib.h> #include "c11/threads.h" -#include "eglstring.h" #include "egldefines.h" #include "egldisplay.h" #include "egldriver.h" @@ -135,7 +134,7 @@ _eglAddModule(const char *name) /* allocate a new one */ mod = calloc(1, sizeof(*mod)); if (mod) { - mod->Name = _eglstrdup(name); + mod->Name = strdup(name); if (!mod->Name) { free(mod); mod = NULL; |