remove re-declaration of global "type" in curl/curl.h

C does NOT have nested scopes