Fix inconsistent argument given to del_entry callback
Minor: Add missing prototypes