diff options
author | Ben Laurie <ben@openssl.org> | 2008-10-14 08:10:52 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2008-10-14 08:10:52 +0000 |
commit | 1ea6472e604ed0e411fa41fcb5f242729ee42cd6 (patch) | |
tree | 48d94ac212ab59ca0e17e7c250f5f0f0c063a039 /crypto/objects/obj_dat.c | |
parent | b8dfde2a362a4a4cb1f102674704972471385a87 (diff) |
Type-safe OBJ_bsearch_ex.
Diffstat (limited to 'crypto/objects/obj_dat.c')
-rw-r--r-- | crypto/objects/obj_dat.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/crypto/objects/obj_dat.c b/crypto/objects/obj_dat.c index acb6bcfb06..2f41aaeb0f 100644 --- a/crypto/objects/obj_dat.c +++ b/crypto/objects/obj_dat.c @@ -678,11 +678,13 @@ int OBJ_sn2nid(const char *s) const void *OBJ_bsearch_(const void *key, const void *base, int num, int size, int (*cmp)(const void *, const void *)) { - return OBJ_bsearch_ex(key, base, num, size, cmp, 0); + return OBJ_bsearch_ex_(key, base, num, size, cmp, 0); } -const void *OBJ_bsearch_ex(const void *key, const void *base_, int num, - int size, int (*cmp)(const void *, const void *), int flags) +const void *OBJ_bsearch_ex_(const void *key, const void *base_, int num, + int size, + int (*cmp)(const void *, const void *), + int flags) { const char *base=base_; int l,h,i=0,c=0; |