diff --git a/src/hashing/cuckoo.cpp b/src/hashing/cuckoo.cpp index dc5505d..7b4e675 100644 --- a/src/hashing/cuckoo.cpp +++ b/src/hashing/cuckoo.cpp @@ -155,6 +155,7 @@ void *gen_cuckoo_entries(void *ctx_void) { for(i = ctx->startpos; i < ctx->endpos; i++, eleptr+=inbytelen) { gen_cuckoo_entry(eleptr, ctx->cuckoo_entries + i, hs, i); } + return NULL; } diff --git a/src/hashing/simple_hashing.cpp b/src/hashing/simple_hashing.cpp index 55ce6c6..8bfa1ce 100644 --- a/src/hashing/simple_hashing.cpp +++ b/src/hashing/simple_hashing.cpp @@ -112,6 +112,7 @@ void *gen_entries(void *ctx_tmp) { } free(tmpbuf); free(address); + return NULL; } inline void insert_element(sht_ctx* table, uint8_t* element, uint32_t* address, uint8_t* tmpbuf, hs_t* hs) { diff --git a/src/ot-based/ot-psi.cpp b/src/ot-based/ot-psi.cpp index d884d8d..112951e 100644 --- a/src/ot-based/ot-psi.cpp +++ b/src/ot-based/ot-psi.cpp @@ -587,6 +587,7 @@ void *otpsi_query_hash_table(void* ctx_tmp) {//GHashTable *map, uint8_t* element free(matches); //return size_intersect; + return NULL; } //TODO if this works correctly, combine with other find intersection methods and outsource to hashing_util.h @@ -717,6 +718,7 @@ void print_bin_content(uint8_t* hash_table, uint32_t nbins, uint32_t elebytelen, void *receive_masks(void *ctx_tmp) { mask_rcv_ctx* ctx = (mask_rcv_ctx*) ctx_tmp; ctx->sock->Receive(ctx->rcv_buf, ctx->maskbytelen * ctx->nmasks); + return NULL; } uint32_t get_stash_size(uint32_t neles) {