summaryrefslogtreecommitdiff
path: root/net-vpn/vtun/files/vtun-3.0.4-naughty-inlines.patch
blob: d36d95d7c6e21ffde4c837463223cb62ee6a3ef0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- a/vtun.h	2016-10-01 23:27:51.000000000 +0200
+++ b/vtun.h	2022-11-27 19:08:02.609754913 +0100
@@ -232,6 +232,6 @@
 int  tunnel(struct vtun_host *host);
 int  read_config(char *file);
 struct vtun_host * find_host(char *host);
-inline void clear_nat_hack_flags(int svr);
+void clear_nat_hack_flags(int svr);
 
 #endif
--- a/cfg_file.y	2022-11-27 19:09:33.380433928 +0100
+++ b/cfg_file.y	2022-11-27 19:09:57.340613164 +0100
@@ -610,7 +610,7 @@
 }
 
 /* Clear the VTUN_NAT_HACK flag which are not relevant to the current operation mode */
-inline void clear_nat_hack_flags(int svr)
+void clear_nat_hack_flags(int svr)
 {
 	if (svr)
 		llist_trav(&host_list,clear_nat_hack_server,NULL);