From 2d77f7cd481d9bf395fdc0ce7dd7757bf3ad71f2 Mon Sep 17 00:00:00 2001
From: Yang Tse <yangsita@gmail.com>
Date: Tue, 30 Sep 2008 15:06:03 +0000
Subject: [PATCH] fix compiler warning: function declaration isn't a prototype

---
 lib/http_ntlm.c | 4 ++--
 lib/http_ntlm.h | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/http_ntlm.c b/lib/http_ntlm.c
index 5c1f575bc9..20a4640e10 100644
--- a/lib/http_ntlm.c
+++ b/lib/http_ntlm.c
@@ -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);
diff --git a/lib/http_ntlm.h b/lib/http_ntlm.h
index c5e73ede80..e14e328624 100644
--- a/lib/http_ntlm.h
+++ b/lib/http_ntlm.h
@@ -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 */
-- 
GitLab