forward changes made in prototypes to actual implementation

master
leitner 4 years ago
parent ebb3086b5c
commit e7358e888e

@ -31,7 +31,7 @@ static int posplus(struct cdb_make *c,uint32 len) {
return 0; return 0;
} }
int cdb_make_addend(struct cdb_make *c,unsigned long int keylen,unsigned long int datalen,uint32 h) { int cdb_make_addend(struct cdb_make *c,size_t keylen,size_t datalen,uint32 h) {
struct cdb_hplist *head; struct cdb_hplist *head;
head = c->head; head = c->head;

@ -27,7 +27,7 @@ int cdb_nextkey(struct cdb *c,uint32 *kpos) {
return doit(c,kpos); return doit(c,kpos);
} }
int cdb_successor(struct cdb *c,const unsigned char *key,unsigned long int klen) { int cdb_successor(struct cdb *c,const unsigned char *key,size_t klen) {
int r; int r;
uint32 kpos; uint32 kpos;
if (key) { if (key) {

Loading…
Cancel
Save