[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] branch master updated: src/microhttpd/test_*: more compi
From: |
gnunet |
Subject: |
[libmicrohttpd] branch master updated: src/microhttpd/test_*: more compiler warning fixed |
Date: |
Tue, 14 Jun 2022 20:30:12 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
The following commit(s) were added to refs/heads/master by this push:
new 80eb2243 src/microhttpd/test_*: more compiler warning fixed
80eb2243 is described below
commit 80eb22434c1a0cb359e710706b6e9aa052c1c6d6
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Tue Jun 14 21:30:05 2022 +0300
src/microhttpd/test_*: more compiler warning fixed
---
src/microhttpd/test_postprocessor.c | 2 +-
src/microhttpd/test_postprocessor_amp.c | 2 +-
src/microhttpd/test_shutdown_select.c | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/microhttpd/test_postprocessor.c
b/src/microhttpd/test_postprocessor.c
index 50dfd534..73607eaf 100644
--- a/src/microhttpd/test_postprocessor.c
+++ b/src/microhttpd/test_postprocessor.c
@@ -54,7 +54,7 @@ struct expResult
* Each series of checks should be terminated by
* five NULL-entries.
*/
-struct expResult exp_results[] = {
+static struct expResult exp_results[] = {
#define URL_NOVALUE1_DATA "abc&x=5"
#define URL_NOVALUE1_START 0
{"abc", NULL, NULL, NULL, /* NULL */ ""}, /* change after API update */
diff --git a/src/microhttpd/test_postprocessor_amp.c
b/src/microhttpd/test_postprocessor_amp.c
index c72b85f3..1ae61691 100644
--- a/src/microhttpd/test_postprocessor_amp.c
+++ b/src/microhttpd/test_postprocessor_amp.c
@@ -5,7 +5,7 @@
#include <string.h>
#include <stdio.h>
-uint64_t num_errors;
+static uint64_t num_errors;
static enum MHD_Result
check_post (void *cls, enum MHD_ValueKind kind, const char *key,
diff --git a/src/microhttpd/test_shutdown_select.c
b/src/microhttpd/test_shutdown_select.c
index a5575537..437d27a9 100644
--- a/src/microhttpd/test_shutdown_select.c
+++ b/src/microhttpd/test_shutdown_select.c
@@ -219,7 +219,7 @@ start_socket_listen (int domain)
}
-MHD_THRD_RTRN_TYPE_ MHD_THRD_CALL_SPEC_
+static MHD_THRD_RTRN_TYPE_ MHD_THRD_CALL_SPEC_
select_thread (void *data)
{
/* use select() like in daemon.c */
@@ -240,7 +240,7 @@ select_thread (void *data)
#ifdef HAVE_POLL
-MHD_THRD_RTRN_TYPE_ MHD_THRD_CALL_SPEC_
+static MHD_THRD_RTRN_TYPE_ MHD_THRD_CALL_SPEC_
poll_thread (void *data)
{
/* use poll() like in daemon.c */
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libmicrohttpd] branch master updated: src/microhttpd/test_*: more compiler warning fixed,
gnunet <=