]> granicus.if.org Git - curl/commitdiff
fix compiler warning: function declaration isn't a prototype
authorYang Tse <yangsita@gmail.com>
Tue, 30 Sep 2008 15:06:03 +0000 (15:06 +0000)
committerYang Tse <yangsita@gmail.com>
Tue, 30 Sep 2008 15:06:03 +0000 (15:06 +0000)
lib/http_ntlm.c
lib/http_ntlm.h

index 5c1f575bc9181f7e2a27457d6a6548d210c1a02d..20a4640e10017584f74b84ed24108488e9580a92 100644 (file)
@@ -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);
index c5e73ede80fb6460bea3cd1e76130690fa793a57..e14e32862433da583f84f9413f4ec8f53007a198 100644 (file)
@@ -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 */