diff options
author | Matt Turner <[email protected]> | 2014-09-21 22:50:36 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2014-09-24 09:58:43 -0700 |
commit | 209eba42ebfc0108ad37b5a83631ed6c019a63c3 (patch) | |
tree | 77e8326d94268ac2cb0c68304311d9e695d9a1c0 /src/mesa | |
parent | 9499d6e358786f1ed3ed79e16fd301106cd08ddd (diff) |
mesa: Drop _mesa_bsearch() wrapper.
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Jose Fonseca <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/imports.c | 17 | ||||
-rw-r--r-- | src/mesa/main/imports.h | 4 |
2 files changed, 0 insertions, 21 deletions
diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c index b8ec2e78550..2c5f20d02ec 100644 --- a/src/mesa/main/imports.c +++ b/src/mesa/main/imports.c @@ -475,23 +475,6 @@ _mesa_half_to_float(GLhalfARB val) /**********************************************************************/ -/** \name Sort & Search */ -/*@{*/ - -/** - * Wrapper for bsearch(). - */ -void * -_mesa_bsearch( const void *key, const void *base, size_t nmemb, size_t size, - int (*compar)(const void *, const void *) ) -{ - return bsearch(key, base, nmemb, size, compar); -} - -/*@}*/ - - -/**********************************************************************/ /** \name Environment vars */ /*@{*/ diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h index 8dbcf8302bc..8f8bcafcc57 100644 --- a/src/mesa/main/imports.h +++ b/src/mesa/main/imports.h @@ -534,10 +534,6 @@ _mesa_half_is_negative(GLhalfARB h) return h & 0x8000; } -extern void * -_mesa_bsearch( const void *key, const void *base, size_t nmemb, size_t size, - int (*compar)(const void *, const void *) ); - extern char * _mesa_getenv( const char *var ); |