aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/imports.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2010-02-18 23:50:55 -0800
committerKristian Høgsberg <[email protected]>2010-02-19 07:51:02 -0500
commit21d0c70b4b1c18dc1c3ac7d0fbd8a903d60f8be7 (patch)
tree59e54ca5138fd305d6b2ac6682a77797c813e1ad /src/mesa/main/imports.c
parentf69d1d1438361f10fd8db78d2d38f26e33db9747 (diff)
Remove _mesa_strlen in favor of plain strlen.
Diffstat (limited to 'src/mesa/main/imports.c')
-rw-r--r--src/mesa/main/imports.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c
index 78c5cada753..dc24ea0740b 100644
--- a/src/mesa/main/imports.c
+++ b/src/mesa/main/imports.c
@@ -841,13 +841,6 @@ _mesa_getenv( const char *var )
/** \name String */
/*@{*/
-/** Wrapper around strlen() */
-size_t
-_mesa_strlen( const char *s )
-{
- return strlen(s);
-}
-
/** Wrapper around strcmp() */
int
_mesa_strcmp( const char *s1, const char *s2 )
@@ -870,7 +863,7 @@ char *
_mesa_strdup( const char *s )
{
if (s) {
- size_t l = _mesa_strlen(s);
+ size_t l = strlen(s);
char *s2 = (char *) _mesa_malloc(l + 1);
if (s2)
strcpy(s2, s);