diff options
author | Kenneth Graunke <[email protected]> | 2010-02-18 23:50:57 -0800 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2010-02-19 09:17:53 -0500 |
commit | 9d9afe9393fde99858ddf40e478bc16cf44e60dc (patch) | |
tree | 6383e17e460dcac949f107b87d6cdca8e1fa2b84 /src/mesa/main | |
parent | 8d73aa6d1ae6e89bb2cd8f52f5586d569a4b6eeb (diff) |
Remove _mesa_strncmp in favor of plain strncmp.
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/imports.c | 7 | ||||
-rw-r--r-- | src/mesa/main/imports.h | 3 |
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 ); |