aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-09-30 15:06:03 +0000
committerYang Tse <yangsita@gmail.com>2008-09-30 15:06:03 +0000
commit2d77f7cd481d9bf395fdc0ce7dd7757bf3ad71f2 (patch)
treee8eb51698e377e3fbaa3206dbf6a43bca651032f /lib
parentd5affe1adaeca5b95ceb43567370f3a54344c552 (diff)
fix compiler warning: function declaration isn't a prototype
Diffstat (limited to 'lib')
-rw-r--r--lib/http_ntlm.c4
-rw-r--r--lib/http_ntlm.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/http_ntlm.c b/lib/http_ntlm.c
index 5c1f575bc..20a4640e1 100644
--- a/lib/http_ntlm.c
+++ b/lib/http_ntlm.c
@@ -1111,7 +1111,7 @@ Curl_ntlm_cleanup(struct connectdata *conn)
}
#ifdef USE_WINDOWS_SSPI
-CURLcode Curl_ntlm_global_init()
+CURLcode Curl_ntlm_global_init(void)
{
/* If security interface is not yet initialized try to do this */
if(s_hSecDll == NULL) {
@@ -1143,7 +1143,7 @@ CURLcode Curl_ntlm_global_init()
return CURLE_OK;
}
-void Curl_ntlm_global_cleanup()
+void Curl_ntlm_global_cleanup(void)
{
if(s_hSecDll != NULL) {
FreeLibrary(s_hSecDll);
diff --git a/lib/http_ntlm.h b/lib/http_ntlm.h
index c5e73ede8..e14e32862 100644
--- a/lib/http_ntlm.h
+++ b/lib/http_ntlm.h
@@ -45,8 +45,8 @@ void Curl_ntlm_cleanup(struct connectdata *conn);
#endif
#ifdef USE_WINDOWS_SSPI
-CURLcode Curl_ntlm_global_init();
-void Curl_ntlm_global_cleanup();
+CURLcode Curl_ntlm_global_init(void);
+void Curl_ntlm_global_cleanup(void);
#endif
/* Flag bits definitions based on http://davenport.sourceforge.net/ntlm.html */