Loading lib/ftp.c +3 −3 Original line number Diff line number Diff line Loading @@ -705,7 +705,7 @@ static void state(struct connectdata *conn, { #if defined(CURLDEBUG) && !defined(CURL_DISABLE_VERBOSE_STRINGS) /* for debug purposes */ const char *names[]={ static const char *names[]={ "STOP", "WAIT220", "AUTH", Loading Loading @@ -862,7 +862,7 @@ static CURLcode ftp_state_use_port(struct connectdata *conn, char hbuf[NI_MAXHOST]; struct sockaddr *sa=(struct sockaddr *)&ss; char tmp[1024]; const char *mode[] = { "EPRT", "PORT", NULL }; static const char *mode[] = { "EPRT", "PORT", NULL }; int rc; int error; char *host=NULL; Loading Loading @@ -1246,7 +1246,7 @@ static CURLcode ftp_state_use_pasv(struct connectdata *conn) */ const char *mode[] = { "EPSV", "PASV", NULL }; static const char *mode[] = { "EPSV", "PASV", NULL }; int modeoff; #ifdef PF_INET6 Loading lib/gtls.c +1 −1 Original line number Diff line number Diff line Loading @@ -227,7 +227,7 @@ Curl_gtls_connect(struct connectdata *conn, int sockindex) { const int cert_type_priority[] = { GNUTLS_CRT_X509, 0 }; static const int cert_type_priority[] = { GNUTLS_CRT_X509, 0 }; struct SessionHandle *data = conn->data; gnutls_session session; int rc; Loading lib/nss.c +1 −1 Original line number Diff line number Diff line Loading @@ -96,7 +96,7 @@ typedef struct { enum sslversion { SSL2 = 1, SSL3 = 2, TLS = 4 }; cipher_s cipherlist[ciphernum] = { static const cipher_s cipherlist[ciphernum] = { /* SSL2 cipher suites */ {"rc4", SSL_EN_RC4_128_WITH_MD5, SSL2}, {"rc4export", SSL_EN_RC4_128_EXPORT40_WITH_MD5, SSL2}, Loading lib/splay.c +1 −1 Original line number Diff line number Diff line Loading @@ -373,7 +373,7 @@ int main(int argc, argv_item_t argv[]) int adds=0; int rc; long sizes[]={ static const long sizes[]={ 50, 60, 50, 100, 60, 200, 120, 300, 400, 200, 256, 122, 60, 120, 200, 300, 220, 80, 90, 50, 100, 60, 200, 120, 300, 400, 200, 256, 122, 60, 120, 200, 300, 220, 80, 90, 50, 100, 60, 200, 120, 300, 400, 200, 256, 122, 60, 120, Loading lib/ssh.c +1 −1 Original line number Diff line number Diff line Loading @@ -252,7 +252,7 @@ static void state(struct connectdata *conn, sshstate state) { #if defined(CURLDEBUG) && !defined(CURL_DISABLE_VERBOSE_STRINGS) /* for debug purposes */ const char *names[] = { static const char *names[] = { "SSH_STOP", "SSH_S_STARTUP", "SSH_AUTHLIST", Loading Loading
lib/ftp.c +3 −3 Original line number Diff line number Diff line Loading @@ -705,7 +705,7 @@ static void state(struct connectdata *conn, { #if defined(CURLDEBUG) && !defined(CURL_DISABLE_VERBOSE_STRINGS) /* for debug purposes */ const char *names[]={ static const char *names[]={ "STOP", "WAIT220", "AUTH", Loading Loading @@ -862,7 +862,7 @@ static CURLcode ftp_state_use_port(struct connectdata *conn, char hbuf[NI_MAXHOST]; struct sockaddr *sa=(struct sockaddr *)&ss; char tmp[1024]; const char *mode[] = { "EPRT", "PORT", NULL }; static const char *mode[] = { "EPRT", "PORT", NULL }; int rc; int error; char *host=NULL; Loading Loading @@ -1246,7 +1246,7 @@ static CURLcode ftp_state_use_pasv(struct connectdata *conn) */ const char *mode[] = { "EPSV", "PASV", NULL }; static const char *mode[] = { "EPSV", "PASV", NULL }; int modeoff; #ifdef PF_INET6 Loading
lib/gtls.c +1 −1 Original line number Diff line number Diff line Loading @@ -227,7 +227,7 @@ Curl_gtls_connect(struct connectdata *conn, int sockindex) { const int cert_type_priority[] = { GNUTLS_CRT_X509, 0 }; static const int cert_type_priority[] = { GNUTLS_CRT_X509, 0 }; struct SessionHandle *data = conn->data; gnutls_session session; int rc; Loading
lib/nss.c +1 −1 Original line number Diff line number Diff line Loading @@ -96,7 +96,7 @@ typedef struct { enum sslversion { SSL2 = 1, SSL3 = 2, TLS = 4 }; cipher_s cipherlist[ciphernum] = { static const cipher_s cipherlist[ciphernum] = { /* SSL2 cipher suites */ {"rc4", SSL_EN_RC4_128_WITH_MD5, SSL2}, {"rc4export", SSL_EN_RC4_128_EXPORT40_WITH_MD5, SSL2}, Loading
lib/splay.c +1 −1 Original line number Diff line number Diff line Loading @@ -373,7 +373,7 @@ int main(int argc, argv_item_t argv[]) int adds=0; int rc; long sizes[]={ static const long sizes[]={ 50, 60, 50, 100, 60, 200, 120, 300, 400, 200, 256, 122, 60, 120, 200, 300, 220, 80, 90, 50, 100, 60, 200, 120, 300, 400, 200, 256, 122, 60, 120, 200, 300, 220, 80, 90, 50, 100, 60, 200, 120, 300, 400, 200, 256, 122, 60, 120, Loading
lib/ssh.c +1 −1 Original line number Diff line number Diff line Loading @@ -252,7 +252,7 @@ static void state(struct connectdata *conn, sshstate state) { #if defined(CURLDEBUG) && !defined(CURL_DISABLE_VERBOSE_STRINGS) /* for debug purposes */ const char *names[] = { static const char *names[] = { "SSH_STOP", "SSH_S_STARTUP", "SSH_AUTHLIST", Loading