Commit 2d77f7cd authored by Yang Tse's avatar Yang Tse
Browse files

fix compiler warning: function declaration isn't a prototype

parent d5affe1a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);
+2 −2
Original line number Diff line number Diff line
@@ -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 */