From 46d402f6513a6745daeaf08e9b260258e912f184 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Mon, 11 Mar 2013 21:10:50 +0100 Subject: [PATCH] Move static prototype definition from header into c file Acked-by: Gert Doering Message-Id: <1363032651-23934-3-git-send-email-arne@rfc2549.org> URL: http://article.gmane.org/gmane.network.openvpn.devel/7389 Signed-off-by: Gert Doering --- src/openvpn/tun.c | 2 ++ src/openvpn/tun.h | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openvpn/tun.c b/src/openvpn/tun.c index 4b0365d59..9912b071c 100644 --- a/src/openvpn/tun.c +++ b/src/openvpn/tun.c @@ -73,6 +73,8 @@ static void solaris_error_close (struct tuntap *tt, const struct env_set *es, co #include #endif +static void clear_tuntap (struct tuntap *tuntap); + bool is_dev_type (const char *dev, const char *dev_type, const char *match_type) { diff --git a/src/openvpn/tun.h b/src/openvpn/tun.h index 8622bf815..c3fc62e1a 100644 --- a/src/openvpn/tun.h +++ b/src/openvpn/tun.h @@ -203,8 +203,6 @@ tuntap_defined (const struct tuntap *tt) * Function prototypes */ -static void clear_tuntap (struct tuntap *tuntap); - void open_tun (const char *dev, const char *dev_type, const char *dev_node, struct tuntap *tt); -- 2.47.3