1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
From: Chris Hofstaedtler <zeha@debian.org>
Date: Fri, 27 Sep 2024 23:19:10 +0200
Subject: Fix multiple conflicting defs of dispatch_to_wdp/wsp/push
Needed on gcc-10.
Forwarded: not-needed
---
wap/wtp_resp.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/wap/wtp_resp.c b/wap/wtp_resp.c
index 57c2d03..46a6790 100644
--- a/wap/wtp_resp.c
+++ b/wap/wtp_resp.c
@@ -96,9 +96,9 @@ static Counter *resp_machine_id_counter = NULL;
static enum { limbo, running, terminating } resp_run_status = limbo;
-wap_dispatch_func_t *dispatch_to_wdp;
-wap_dispatch_func_t *dispatch_to_wsp;
-wap_dispatch_func_t *dispatch_to_push;
+static wap_dispatch_func_t *dispatch_to_wdp;
+static wap_dispatch_func_t *dispatch_to_wsp;
+static wap_dispatch_func_t *dispatch_to_push;
/*
* Queue of events to be handled by WTP responder.
|