From 2d77f7cd481d9bf395fdc0ce7dd7757bf3ad71f2 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 30 Sep 2008 15:06:03 +0000 Subject: fix compiler warning: function declaration isn't a prototype --- lib/http_ntlm.c | 4 ++-- lib/http_ntlm.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'lib') 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 */ -- cgit v1.2.3