summaryrefslogtreecommitdiffstats
path: root/modules/arch/unix/mod_systemd.c
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2024-03-14 18:12:17 +0100
committerYann Ylavic <ylavic@apache.org>2024-03-14 18:12:17 +0100
commite343347ab6cc304abd5977d1ab5b287898590e23 (patch)
tree656687f309c4524dee13819ce14e17ab88a1359f /modules/arch/unix/mod_systemd.c
parentmod_autht_jwt: Use unsigned rather than signed one-bit fields. (diff)
downloadapache2-e343347ab6cc304abd5977d1ab5b287898590e23.tar.xz
apache2-e343347ab6cc304abd5977d1ab5b287898590e23.zip
mod_systemd: Axe APR_OPTIONAL_FN redeclarations to avoid compiler warning.
ap_find_systemd_socket() and ap_systemd_listen_fds() are already declared in "ap_listen.h", so just include them. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1916312 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/arch/unix/mod_systemd.c')
-rw-r--r--modules/arch/unix/mod_systemd.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/modules/arch/unix/mod_systemd.c b/modules/arch/unix/mod_systemd.c
index 6439a5c8ef..2de1c9befd 100644
--- a/modules/arch/unix/mod_systemd.c
+++ b/modules/arch/unix/mod_systemd.c
@@ -18,6 +18,7 @@
#include <stdint.h>
#include <ap_config.h>
#include "ap_mpm.h"
+#include "ap_listen.h"
#include <http_core.h>
#include <httpd.h>
#include <http_log.h>
@@ -34,12 +35,6 @@
#include <unistd.h>
#endif
-APR_DECLARE_OPTIONAL_FN(int,
- ap_find_systemd_socket, (process_rec *, apr_port_t));
-
-APR_DECLARE_OPTIONAL_FN(int,
- ap_systemd_listen_fds, (int));
-
static int systemd_pre_config(apr_pool_t *pconf, apr_pool_t *plog,
apr_pool_t *ptemp)
{