[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 02/31: testcurl/https: fixed functions declarations
From: |
gnunet |
Subject: |
[libmicrohttpd] 02/31: testcurl/https: fixed functions declarations |
Date: |
Mon, 10 Oct 2022 13:00:47 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit c1f7c8075af8422cd88775c0529300587e17c8a6
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sat Oct 1 18:44:37 2022 +0300
testcurl/https: fixed functions declarations
---
src/testcurl/https/test_empty_response.c | 2 +-
src/testcurl/https/test_https_session_info.c | 2 +-
src/testcurl/https/test_https_time_out.c | 4 ++--
src/testcurl/https/tls_test_common.c | 2 +-
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
index 3dc5b0bb..3f53bbb4 100644
--- 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
index 12208ba7..7fc97fc5 100644
--- 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
index b9e48363..cb44acb2 100644
--- 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
index e23f1c4e..0520a24d 100644
--- 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;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] branch master updated (30ef790c -> c930fe1a), gnunet, 2022/10/10
- [libmicrohttpd] 04/31: testcurl/https: stopped CA file creation/removal, gnunet, 2022/10/10
- [libmicrohttpd] 05/31: testcurl/https: removed explicit cipher setting, gnunet, 2022/10/10
- [libmicrohttpd] 01/31: Removed curl_version_check, gnunet, 2022/10/10
- [libmicrohttpd] 07/31: test_https_session_info: fixed compiler warning with old libcurl, gnunet, 2022/10/10
- [libmicrohttpd] 12/31: test_https_time_out: second attempt to really check something with this test, gnunet, 2022/10/10
- [libmicrohttpd] 02/31: testcurl/https: fixed functions declarations,
gnunet <=
- [libmicrohttpd] 03/31: testcurl/https: fixed compiler warnings, wrong types, gnunet, 2022/10/10
- [libmicrohttpd] 06/31: testcurl/https: do not enforce TLSv1, gnunet, 2022/10/10
- [libmicrohttpd] 08/31: testcurl/https: removed usage of deprecated libcurl parameter, gnunet, 2022/10/10
- [libmicrohttpd] 10/31: test_https_get_parallel{,_threads}: removed artificial delay, gnunet, 2022/10/10
- [libmicrohttpd] 13/31: MHD_start_daemon(): minor readability improvement, gnunet, 2022/10/10
- [libmicrohttpd] 14/31: microhttpd.h: improved doxy for MHD_USE_THREAD_PER_CONNECTION, gnunet, 2022/10/10
- [libmicrohttpd] 15/31: MHD_run_wait(): improved readability, gnunet, 2022/10/10
- [libmicrohttpd] 11/31: daemon: fixed delayed notification callback in thread-per-connection mode, gnunet, 2022/10/10
- [libmicrohttpd] 16/31: daemon: small refactoring for more compact code when poll() is not supported, gnunet, 2022/10/10
- [libmicrohttpd] 17/31: MHD_poll(): removed unneeded check, gnunet, 2022/10/10