Yes, exactly.
Unless you want to return a pointer of unspecified type - in that case you would use a void* rather than a void.