From: Ulf Möller Date: Mon, 12 Jun 2000 19:45:38 +0000 (+0000) Subject: protoypes X-Git-Tag: OpenSSL-engine-0_9_6-beta1~21^2~67 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=44317f04b1d3b904429fdd44539574cb90bb5b34;p=oweals%2Fopenssl.git protoypes --- diff --git a/crypto/objects/objects.h b/crypto/objects/objects.h index 2f11517a9a..f0d9fd7a2d 100644 --- a/crypto/objects/objects.h +++ b/crypto/objects/objects.h @@ -979,8 +979,8 @@ typedef struct obj_name_st int OBJ_NAME_init(void); -int OBJ_NAME_new_index(unsigned long (*hash_func)(),int (*cmp_func)(), - void (*free_func)()); +int OBJ_NAME_new_index(unsigned long (*hash_func)(const char *),int (*cmp_func)(const void *, const void *), + void (*free_func)(const char *, int, const char *)); const char *OBJ_NAME_get(const char *name,int type); int OBJ_NAME_add(const char *name,int type,const char *data); int OBJ_NAME_remove(const char *name,int type); @@ -997,7 +997,7 @@ int OBJ_txt2nid(char *s); int OBJ_ln2nid(const char *s); int OBJ_sn2nid(const char *s); int OBJ_cmp(ASN1_OBJECT *a,ASN1_OBJECT *b); -char * OBJ_bsearch(char *key,char *base,int num,int size,int (*cmp)()); +char * OBJ_bsearch(char *key,char *base,int num,int size,int (*cmp)(const void *, const void *)); void ERR_load_OBJ_strings(void );