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>
This commit is contained in:
Arne Schwabe 2013-03-11 21:10:50 +01:00 committed by Gert Doering
parent 462b6d5228
commit 46d402f651
2 changed files with 2 additions and 2 deletions

View 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)
{

View 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);