mesa: use strdup() instead of _mesa_strdup()
authorBrian Paul <brianp@vmware.com>
Sat, 7 Mar 2015 20:15:22 +0000 (13:15 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 11 Mar 2015 15:34:24 +0000 (09:34 -0600)
commitd7193ce42cedc4cc7839fc4522edf5724e954c80
treeb24eb2b2fd2d0df24423fac7858fdbd76db191ac
parent5376bc74ccfac0d1a4df6c5652e075d99e3f4fe4
mesa: use strdup() instead of _mesa_strdup()

We were already using strdup() in various places in Mesa.  Get rid
of the _mesa_strdup() wrapper.  All the callers pass a non-NULL
argument so the NULL check isn't needed either.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/imports.c
src/mesa/main/imports.h
src/mesa/main/objectlabel.c
src/mesa/main/shaderapi.c
src/mesa/main/transformfeedback.c
src/mesa/program/prog_instruction.c
src/mesa/program/prog_parameter.c
src/mesa/program/prog_statevars.c
src/mesa/program/program.c