diff options
author | Kenneth Graunke <[email protected]> | 2010-02-18 23:50:53 -0800 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2010-02-19 07:50:22 -0500 |
commit | 5fcaa78912bc78a5db410200c5987e2c57fad570 (patch) | |
tree | 37be9f2d07648120c6aad4d422dfca3f42d085d0 /src/mesa/shader | |
parent | 8ff7624653f0e119865cc6c283775832f1bc2903 (diff) |
Remove _mesa_strcpy in favor of plain strcpy.
Diffstat (limited to 'src/mesa/shader')
-rw-r--r-- | src/mesa/shader/slang/slang_mem.c | 2 | ||||
-rw-r--r-- | src/mesa/shader/slang/slang_utility.c | 2 | ||||
-rw-r--r-- | src/mesa/shader/slang/slang_utility.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/shader/slang/slang_mem.c b/src/mesa/shader/slang/slang_mem.c index 9224578edb0..dc5707a39b9 100644 --- a/src/mesa/shader/slang/slang_mem.c +++ b/src/mesa/shader/slang/slang_mem.c @@ -215,7 +215,7 @@ _slang_strdup(const char *s) size_t l = _mesa_strlen(s); char *s2 = (char *) _slang_alloc(l + 1); if (s2) - _mesa_strcpy(s2, s); + strcpy(s2, s); return s2; } else { diff --git a/src/mesa/shader/slang/slang_utility.c b/src/mesa/shader/slang/slang_utility.c index 3631e32b3c3..950fba5611c 100644 --- a/src/mesa/shader/slang/slang_utility.c +++ b/src/mesa/shader/slang/slang_utility.c @@ -35,7 +35,7 @@ char * slang_string_concat (char *dst, const char *src) { - return _mesa_strcpy (dst + _mesa_strlen (dst), src); + return strcpy (dst + _mesa_strlen (dst), src); } diff --git a/src/mesa/shader/slang/slang_utility.h b/src/mesa/shader/slang/slang_utility.h index 032c5618107..3762cc96795 100644 --- a/src/mesa/shader/slang/slang_utility.h +++ b/src/mesa/shader/slang/slang_utility.h @@ -33,7 +33,7 @@ #define slang_string_compare(str1, str2) _mesa_strcmp (str1, str2) -#define slang_string_copy(dst, src) _mesa_strcpy (dst, src) +#define slang_string_copy(dst, src) strcpy (dst, src) #define slang_string_length(str) _mesa_strlen (str) char *slang_string_concat (char *, const char *); |