]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Move static prototype definition from header into c file
authorArne Schwabe <arne@rfc2549.org>
Mon, 11 Mar 2013 20:10:50 +0000 (21:10 +0100)
committerGert Doering <gert@greenie.muc.de>
Tue, 12 Mar 2013 10:57:25 +0000 (11:57 +0100)
Acked-by: Gert Doering <gert@greenie.muc.de>
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 <gert@greenie.muc.de>
src/openvpn/tun.c
src/openvpn/tun.h

index 4b0365d591ce012f9b56a180b7dd7119ca84b09a..9912b071c5960266ccc32b89fa0eb98ffe98a363 100644 (file)
@@ -73,6 +73,8 @@ static void solaris_error_close (struct tuntap *tt, const struct env_set *es, co
 #include <stropts.h>
 #endif
 
+static void clear_tuntap (struct tuntap *tuntap);
+
 bool
 is_dev_type (const char *dev, const char *dev_type, const char *match_type)
 {
index 8622bf815276b38104123529140578d968c03e14..c3fc62e1a79312dfeae9a365b523466b60fe09e6 100644 (file)
@@ -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);