mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
fix compiler warning: function declaration isn't a prototype
This commit is contained in:
parent
d5affe1ada
commit
2d77f7cd48
@ -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);
|
||||||
|
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user