diff --git a/openair2/UTIL/OMG/omg_hashtable.c b/openair2/UTIL/OMG/omg_hashtable.c index eabe338d43..2528c0e80e 100644 --- a/openair2/UTIL/OMG/omg_hashtable.c +++ b/openair2/UTIL/OMG/omg_hashtable.c @@ -51,7 +51,7 @@ * @returns hash_table_element_t object when success * @returns NULL when no memory */ -hash_table_element_t * hash_table_element_new() +hash_table_element_t * hash_table_element_new(void) { //INFO("creating a new hash table element"); return calloc(1, hash_table_element_s); diff --git a/openair2/UTIL/OMG/omg_hashtable.h b/openair2/UTIL/OMG/omg_hashtable.h index 8abeeea0f3..8c4003e53b 100644 --- a/openair2/UTIL/OMG/omg_hashtable.h +++ b/openair2/UTIL/OMG/omg_hashtable.h @@ -130,7 +130,7 @@ typedef struct omg_hash_table_s { * @returns hash_table_element_t object when success * @returns NULL when no memory */ -hash_table_element_t * hash_table_element_new(); +hash_table_element_t * hash_table_element_new(void); /** * Function to delete an hash table element