Browse code

Move static prototype definition from header into c file

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>

Arne Schwabe authored on 2013/03/12 05:10:50
Showing 2 changed files
... ...
@@ -73,6 +73,8 @@ static void solaris_error_close (struct tuntap *tt, const struct env_set *es, co
73 73
 #include <stropts.h>
74 74
 #endif
75 75
 
76
+static void clear_tuntap (struct tuntap *tuntap);
77
+
76 78
 bool
77 79
 is_dev_type (const char *dev, const char *dev_type, const char *match_type)
78 80
 {
... ...
@@ -203,8 +203,6 @@ tuntap_defined (const struct tuntap *tt)
203 203
  * Function prototypes
204 204
  */
205 205
 
206
-static void clear_tuntap (struct tuntap *tuntap);
207
-
208 206
 void open_tun (const char *dev, const char *dev_type, const char *dev_node,
209 207
 	       struct tuntap *tt);
210 208