No idea why http_dorequest() ever returned void*. Don't hide the type, it's not a secret (the pointer is shared with a type later anyway).