egl/dri2/x11: use standard strndup function
authorEmil Velikov <emil.l.velikov@gmail.com>
Sun, 1 Jun 2014 14:19:46 +0000 (15:19 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 9 Jun 2014 21:55:51 +0000 (22:55 +0100)
commitc153b1f39b60f7a2ba59262b12b4597cbfbf36ca
tree9bcb293cd9cb551511d5ef6f7717590b47df8518
parent357a8b6f334da9e78d9cadebb8d729a0d1d38c3d
egl/dri2/x11: use standard strndup function

Using a custom version of the function brings no benefit.

Cc: Chad Versace <chad.versace@linux.intel.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/egl/drivers/dri2/platform_x11.c