Remove byte_*() as we don't use freestanding anymore

This commit is contained in:
angt
2016-01-05 12:26:38 +01:00
parent 2eb6521f9c
commit 5efb379251
4 changed files with 24 additions and 46 deletions

View File

@@ -36,7 +36,7 @@ static int tun_create_by_id (char *name, size_t size, unsigned id, _unused_ int
struct ctl_info ci;
byte_set(&ci, 0, sizeof(ci));
memset(&ci, 0, sizeof(ci));
str_cpy(ci.ctl_name, UTUN_CONTROL_NAME, sizeof(ci.ctl_name)-1);
if (ioctl(fd, CTLIOCGINFO, &ci)) {