From b0aeb4f5eb82e0d7da5b71d7c62fe965805db006 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Thu, 8 Oct 2015 00:47:30 +0200 Subject: [PATCH] Un-inline clear_nat_hack_flags() --- cfg_file.y | 2 +- vtun.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cfg_file.y b/cfg_file.y index a70fbf8..bf01e4d 100644 --- a/cfg_file.y +++ b/cfg_file.y @@ -610,7 +610,7 @@ int clear_nat_hack_client(void *d, void *u) } /* 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); diff --git a/vtun.h b/vtun.h index eacd0c5..1ba7c9a 100644 --- a/vtun.h +++ b/vtun.h @@ -232,6 +232,6 @@ void client(struct vtun_host *host); 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