aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/dlopen.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2010-02-18 23:50:54 -0800
committerKristian Høgsberg <[email protected]>2010-02-19 07:50:40 -0500
commitf69d1d1438361f10fd8db78d2d38f26e33db9747 (patch)
treeef341a11b10987705b271ef84ab49b210d123880 /src/mesa/main/dlopen.c
parent5fcaa78912bc78a5db410200c5987e2c57fad570 (diff)
Remove _mesa_strncpy in favor of plain strncpy.
Diffstat (limited to 'src/mesa/main/dlopen.c')
-rw-r--r--src/mesa/main/dlopen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/dlopen.c b/src/mesa/main/dlopen.c
index 81e032081db..658ac9e40cf 100644
--- a/src/mesa/main/dlopen.c
+++ b/src/mesa/main/dlopen.c
@@ -73,7 +73,7 @@ _mesa_dlsym(void *handle, const char *fname)
/* need '_' prefix on symbol names */
char fname2[1000];
fname2[0] = '_';
- _mesa_strncpy(fname2 + 1, fname, 998);
+ strncpy(fname2 + 1, fname, 998);
fname2[999] = 0;
return (GenericFunc) dlsym(handle, fname2);
#elif defined(_GNU_SOURCE)