diff options
author | Arne Schwabe <arne@rfc2549.org> | 2013-03-11 21:10:50 +0100 |
---|---|---|
committer | Gert Doering <gert@greenie.muc.de> | 2013-03-12 11:57:25 +0100 |
commit | 46d402f6513a6745daeaf08e9b260258e912f184 (patch) | |
tree | 27a5d2abc296e402b715c2b36a5b6ad02b167183 /src/openvpn | |
parent | 462b6d5228660d664c3158902ee50687edf3475d (diff) | |
download | openvpn-46d402f6513a6745daeaf08e9b260258e912f184.tar.gz openvpn-46d402f6513a6745daeaf08e9b260258e912f184.tar.xz openvpn-46d402f6513a6745daeaf08e9b260258e912f184.zip |
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>
Diffstat (limited to 'src/openvpn')
-rw-r--r-- | src/openvpn/tun.c | 2 | ||||
-rw-r--r-- | 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 4b0365d..9912b07 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 <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) { diff --git a/src/openvpn/tun.h b/src/openvpn/tun.h index 8622bf8..c3fc62e 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); |