Cleanup variables in http.[ch]
Quite some variables defined as extern in http.h are only used in http.c, and some others, only defined in http.c, were not static. Signed-off-by: Mike Hommey <mh@glandium.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
ace72086bb
commit
cc3530e8f3
18
http.h
18
http.h
@ -80,24 +80,6 @@ extern void http_cleanup(void);
|
||||
extern int data_received;
|
||||
extern int active_requests;
|
||||
|
||||
#ifndef NO_CURL_EASY_DUPHANDLE
|
||||
extern CURL *curl_default;
|
||||
#endif
|
||||
extern char curl_errorstr[CURL_ERROR_SIZE];
|
||||
|
||||
extern int curl_ssl_verify;
|
||||
extern char *ssl_cert;
|
||||
#if LIBCURL_VERSION_NUM >= 0x070902
|
||||
extern char *ssl_key;
|
||||
#endif
|
||||
#if LIBCURL_VERSION_NUM >= 0x070908
|
||||
extern char *ssl_capath;
|
||||
#endif
|
||||
extern char *ssl_cainfo;
|
||||
extern long curl_low_speed_limit;
|
||||
extern long curl_low_speed_time;
|
||||
|
||||
extern struct curl_slist *pragma_header;
|
||||
extern struct curl_slist *no_range_header;
|
||||
|
||||
#endif /* HTTP_H */
|
||||
|
Reference in New Issue
Block a user