1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

fix compiler warning: function declaration isn't a prototype

This commit is contained in:
Yang Tse 2008-09-30 15:06:03 +00:00
parent d5affe1ada
commit 2d77f7cd48
2 changed files with 4 additions and 4 deletions

View File

@ -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()
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);

View File

@ -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 */