From 21d0c70b4b1c18dc1c3ac7d0fbd8a903d60f8be7 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Thu, 18 Feb 2010 23:50:55 -0800 Subject: Remove _mesa_strlen in favor of plain strlen. --- src/mesa/main/imports.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/mesa/main/imports.c') diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c index 78c5cada75..dc24ea0740 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); -- cgit v1.2.3