commit c1f7c8075af8422cd88775c0529300587e17c8a6
parent 2249c1f5dfeb43aafca23b6b80b4e0e7a1b24e1c
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Sat, 1 Oct 2022 18:44:37 +0300
testcurl/https: fixed functions declarations
Diffstat:
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/testcurl/https/test_empty_response.c b/src/testcurl/https/test_empty_response.c
@@ -58,7 +58,7 @@ ahc_echo (void *cls,
static int
-testInternalSelectGet ()
+testInternalSelectGet (void)
{
struct MHD_Daemon *d;
CURL *c;
diff --git a/src/testcurl/https/test_https_session_info.c b/src/testcurl/https/test_https_session_info.c
@@ -95,7 +95,7 @@ query_session_ahc (void *cls, struct MHD_Connection *connection,
*/
#if LIBCURL_VERSION_NUM >= 0x072200
static int
-test_query_session ()
+test_query_session (void)
{
CURL *c;
struct CBC cbc;
diff --git a/src/testcurl/https/test_https_time_out.c b/src/testcurl/https/test_https_time_out.c
@@ -64,7 +64,7 @@ static unsigned int num_disconnects = 0;
* Pause execution for specified number of milliseconds.
* @param ms the number of milliseconds to sleep
*/
-void
+static void
_MHD_sleep (uint32_t ms)
{
#if defined(_WIN32)
@@ -98,7 +98,7 @@ _MHD_sleep (uint32_t ms)
}
-void
+static void
socket_cb (void *cls,
struct MHD_Connection *c,
void **socket_context,
diff --git a/src/testcurl/https/tls_test_common.c b/src/testcurl/https/tls_test_common.c
@@ -28,7 +28,7 @@
FILE *
-setup_ca_cert ()
+setup_ca_cert (void)
{
FILE *cert_fd;