diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/cmd_write.c | 1 | ||||
-rw-r--r-- | cmd/cmd_writes.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/cmd/cmd_write.c b/cmd/cmd_write.c index f5d6e01..1d4c1e9 100644 --- a/cmd/cmd_write.c +++ b/cmd/cmd_write.c @@ -63,7 +63,6 @@ int c_write( cmd_arg_t *arg) return -1; } - for (i=0; i<strlen(argv[0]); i+=2) { printf("%02x ",(unsigned char)hex2u8((unsigned char*)&argv[0][i])); diff --git a/cmd/cmd_writes.c b/cmd/cmd_writes.c index 1ddc95a..6b0d472 100644 --- a/cmd/cmd_writes.c +++ b/cmd/cmd_writes.c @@ -1,3 +1,5 @@ +#include <string.h> + #include "buf.h" #include "core.h" |