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

@@ -12,7 +12,7 @@ int option_str (void *data, int argc, char **argv)
return -1;
}
byte_cpy(data, &argv[1], sizeof(argv[1]));
memcpy(data, &argv[1], sizeof(argv[1]));
return 1;
}
@@ -33,7 +33,7 @@ int option_long (void *data, int argc, char **argv)
return -1;
}
byte_cpy(data, &val, sizeof(val));
memcpy(data, &val, sizeof(val));
return 1;
}