diff options
author | Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> | 2014-12-16 12:28:47 +0200 |
---|---|---|
committer | Abdiel Janulgue <abdiel.janulgue@linux.intel.com> | 2014-12-16 13:50:53 +0200 |
commit | 5d431ffd612ce9cf41218c6239335ea2c9ff4b2b (patch) | |
tree | 292312df2dde4b44678e297d0d080ef6cc4b8372 /src/glx/glxcmds.c | |
parent | 096b48b3e1fcaf8ad44d90cba1cb9eeebba413ba (diff) | |
download | external_mesa3d-5d431ffd612ce9cf41218c6239335ea2c9ff4b2b.zip external_mesa3d-5d431ffd612ce9cf41218c6239335ea2c9ff4b2b.tar.gz external_mesa3d-5d431ffd612ce9cf41218c6239335ea2c9ff4b2b.tar.bz2 |
glx: remove __glXstrdup()
I didn't find this being used anywhere
Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/glx/glxcmds.c')
-rw-r--r-- | src/glx/glxcmds.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/glx/glxcmds.c b/src/glx/glxcmds.c index 04d8db1..f4f476e 100644 --- a/src/glx/glxcmds.c +++ b/src/glx/glxcmds.c @@ -2428,23 +2428,6 @@ __glXReleaseTexImageEXT(Display * dpy, GLXDrawable drawable, int buffer) #endif /* GLX_USE_APPLEGL */ -/** - * \c strdup is actually not a standard ANSI C or POSIX routine. - * Irix will not define it if ANSI mode is in effect. - * - * \sa strdup - */ -_X_HIDDEN char * -__glXstrdup(const char *str) -{ - char *copy; - copy = malloc(strlen(str) + 1); - if (!copy) - return NULL; - strcpy(copy, str); - return copy; -} - /* ** glXGetProcAddress support */ |