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