summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2010-02-18 23:50:57 -0800
committerKristian Høgsberg <[email protected]>2010-02-19 09:17:53 -0500
commit9d9afe9393fde99858ddf40e478bc16cf44e60dc (patch)
tree6383e17e460dcac949f107b87d6cdca8e1fa2b84 /src/mesa/main
parent8d73aa6d1ae6e89bb2cd8f52f5586d569a4b6eeb (diff)
Remove _mesa_strncmp in favor of plain strncmp.
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/imports.c7
-rw-r--r--src/mesa/main/imports.h3
2 files changed, 0 insertions, 10 deletions
diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c
index a48f05c5361..4c5e99fbbeb 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 strncmp() */
-int
-_mesa_strncmp( const char *s1, const char *s2, size_t n )
-{
- return strncmp(s1, s2, n);
-}
-
/**
* Implemented using _mesa_malloc() and strcpy.
* Note that NULL is handled accordingly.
diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h
index 867bce763cc..3c8f734e367 100644
--- a/src/mesa/main/imports.h
+++ b/src/mesa/main/imports.h
@@ -611,9 +611,6 @@ _mesa_bsearch( const void *key, const void *base, size_t nmemb, size_t size,
extern char *
_mesa_getenv( const char *var );
-extern int
-_mesa_strncmp( const char *s1, const char *s2, size_t n );
-
extern char *
_mesa_strdup( const char *s );