projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14ba6c9
)
xlib: use strdup() instead of _mesa_strdup()
author
Brian Paul
<brianp@vmware.com>
Sat, 7 Mar 2015 20:15:22 +0000
(13:15 -0700)
committer
Brian Paul
<brianp@vmware.com>
Wed, 11 Mar 2015 15:34:24 +0000
(09:34 -0600)
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/x11/fakeglx.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/x11/fakeglx.c
b/src/mesa/drivers/x11/fakeglx.c
index 3869e941d925ce2d09275180242e01f4288a73cd..4fd6d758da912e62f0f1dbb47b540a5d85449b44 100644
(file)
--- a/
src/mesa/drivers/x11/fakeglx.c
+++ b/
src/mesa/drivers/x11/fakeglx.c
@@
-40,6
+40,7
@@
*/
+#include <string.h>
#include <stdio.h>
#include "glxheader.h"
#include "glxapi.h"
@@
-846,7
+847,7
@@
register_with_display(Display *dpy)
ext = dpy->ext_procs; /* new extension is at head of list */
assert(c->extension == ext->codes.extension);
(void) c; /* silence warning */
- ext->name =
_mesa_
strdup(extName);
+ ext->name = strdup(extName);
ext->close_display = close_display_callback;
}
}