From: Arne Schwabe Date: Mon, 11 Mar 2013 20:10:50 +0000 (+0100) Subject: Move static prototype definition from header into c file X-Git-Tag: v2.4_alpha1~597 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46d402f6513a6745daeaf08e9b260258e912f184;p=thirdparty%2Fopenvpn.git 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 --- 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);