aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-06-14 11:34:12 +0200
committerYang Tse <yangsita@gmail.com>2012-06-14 11:34:12 +0200
commitb4b7f6828c684cef088fe084e0812d6abefcaa36 (patch)
tree88c00916be70f0593bc839eeca813ce6b0a235b7
parent0d0893f2b9d0249f4f0751cb11dd016ce439a6c6 (diff)
schannel: fix Curl_schannel_init() and Curl_schannel_cleanup() declarations
-rw-r--r--lib/curl_schannel.c4
-rw-r--r--lib/curl_schannel.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/curl_schannel.c b/lib/curl_schannel.c
index 7dd227ea4..6bab84b2a 100644
--- a/lib/curl_schannel.c
+++ b/lib/curl_schannel.c
@@ -965,12 +965,12 @@ void Curl_schannel_session_free(void *ptr)
}
}
-int Curl_schannel_init()
+int Curl_schannel_init(void)
{
return (Curl_sspi_global_init() == CURLE_OK ? 1 : 0);
}
-void Curl_schannel_cleanup()
+void Curl_schannel_cleanup(void)
{
Curl_sspi_global_cleanup();
}
diff --git a/lib/curl_schannel.h b/lib/curl_schannel.h
index bac6e422b..2869b9263 100644
--- a/lib/curl_schannel.h
+++ b/lib/curl_schannel.h
@@ -108,8 +108,8 @@ void Curl_schannel_close(struct connectdata *conn, int sockindex);
int Curl_schannel_shutdown(struct connectdata *conn, int sockindex);
void Curl_schannel_session_free(void *ptr);
-int Curl_schannel_init();
-void Curl_schannel_cleanup();
+int Curl_schannel_init(void);
+void Curl_schannel_cleanup(void);
size_t Curl_schannel_version(char *buffer, size_t size);
/* API setup for Schannel */