mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-16 12:53:17 +00:00
fix warnings
This commit is contained in:
parent
9f3e397475
commit
49e448fb19
|
@ -227,7 +227,7 @@ tun_setip(const char *ip, int netbits)
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
tun_setmtu(const size_t mtu)
|
tun_setmtu(const unsigned mtu)
|
||||||
{
|
{
|
||||||
char cmdline[512];
|
char cmdline[512];
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,6 @@ void close_tun(int);
|
||||||
int write_tun(int, char *, size_t);
|
int write_tun(int, char *, size_t);
|
||||||
ssize_t read_tun(int, char *, size_t);
|
ssize_t read_tun(int, char *, size_t);
|
||||||
int tun_setip(const char *, int);
|
int tun_setip(const char *, int);
|
||||||
int tun_setmtu(const size_t);
|
int tun_setmtu(const unsigned);
|
||||||
|
|
||||||
#endif /* _TUN_H_ */
|
#endif /* _TUN_H_ */
|
||||||
|
|
Loading…
Reference in a new issue