summarylogtreecommitdiffstats
path: root/10_fix_multiple_definitions.patch
blob: d4aa57cd718aae3868a67b914391f39411401396 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: Fix multiple conflicting defs of dispatch_to_wdp/wsp/push
 Needed on gcc-10.
Author: Chris Hofstaedtler <zeha@debian.org>
Last-Update: 2020-07-23

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.