0
0
mirror of https://github.com/OpenVPN/openvpn.git synced 2024-09-19 19:42:30 +02:00

Make read/write_tun_header static

These functions are not used outside tun.c

Change-Id: I028634dba74a273c725b0beb16b674897b3c23fa
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20240916133436.29943-1-gert@greenie.muc.de>
Signed-off-by: Gert Doering <gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg29249.html
This commit is contained in:
Arne Schwabe 2024-09-16 15:34:35 +02:00 committed by Gert Doering
parent 65985905c5
commit ac3a7fd935

View File

@ -1792,7 +1792,7 @@ header_modify_read_write_return(int len)
}
}
int
static int
write_tun_header(struct tuntap *tt, uint8_t *buf, int len)
{
if (tt->type == DEV_TYPE_TUN)
@ -1825,7 +1825,7 @@ write_tun_header(struct tuntap *tt, uint8_t *buf, int len)
}
}
int
static int
read_tun_header(struct tuntap *tt, uint8_t *buf, int len)
{
if (tt->type == DEV_TYPE_TUN)