summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/imports.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2010-02-18 23:50:51 -0800
committerKristian Høgsberg <[email protected]>2010-02-19 07:47:48 -0500
commit0aecdb638322c81ce30f201f12e1f268acd1a64c (patch)
tree54f85ea6c8ea24ce5bb5f8b98a82eef46c26df50 /src/mesa/main/imports.c
parent71214c640c8b20020ead13897c76b9b6773126ba (diff)
Remove _mesa_strstr in favor of plain strstr.
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 def045269c5..cd19373fc57 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 strstr() */
-char *
-_mesa_strstr( const char *haystack, const char *needle )
-{
- return strstr(haystack, needle);
-}
-
/** Wrapper around strncat() */
char *
_mesa_strncat( char *dest, const char *src, size_t n )
@@ -1177,7 +1170,7 @@ _mesa_error( GLcontext *ctx, GLenum error, const char *fmtString, ... )
const char *debugEnv = _mesa_getenv("MESA_DEBUG");
#ifdef DEBUG
- if (debugEnv && _mesa_strstr(debugEnv, "silent"))
+ if (debugEnv && strstr(debugEnv, "silent"))
debug = GL_FALSE;
else
debug = GL_TRUE;