Skip to content
Snippets Groups Projects
Commit 2d77f7cd authored by Yang Tse's avatar Yang Tse
Browse files

fix compiler warning: function declaration isn't a prototype

parent d5affe1a
No related branches found
No related tags found
No related merge requests found
...@@ -1111,7 +1111,7 @@ Curl_ntlm_cleanup(struct connectdata *conn) ...@@ -1111,7 +1111,7 @@ Curl_ntlm_cleanup(struct connectdata *conn)
} }
#ifdef USE_WINDOWS_SSPI #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 security interface is not yet initialized try to do this */
if(s_hSecDll == NULL) { if(s_hSecDll == NULL) {
...@@ -1143,7 +1143,7 @@ CURLcode Curl_ntlm_global_init() ...@@ -1143,7 +1143,7 @@ CURLcode Curl_ntlm_global_init()
return CURLE_OK; return CURLE_OK;
} }
void Curl_ntlm_global_cleanup() void Curl_ntlm_global_cleanup(void)
{ {
if(s_hSecDll != NULL) { if(s_hSecDll != NULL) {
FreeLibrary(s_hSecDll); FreeLibrary(s_hSecDll);
......
...@@ -45,8 +45,8 @@ void Curl_ntlm_cleanup(struct connectdata *conn); ...@@ -45,8 +45,8 @@ void Curl_ntlm_cleanup(struct connectdata *conn);
#endif #endif
#ifdef USE_WINDOWS_SSPI #ifdef USE_WINDOWS_SSPI
CURLcode Curl_ntlm_global_init(); CURLcode Curl_ntlm_global_init(void);
void Curl_ntlm_global_cleanup(); void Curl_ntlm_global_cleanup(void);
#endif #endif
/* Flag bits definitions based on http://davenport.sourceforge.net/ntlm.html */ /* Flag bits definitions based on http://davenport.sourceforge.net/ntlm.html */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment