summaryrefslogtreecommitdiff
path: root/coreutils/fold.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/fold.c')
-rw-r--r--coreutils/fold.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/coreutils/fold.c b/coreutils/fold.c
index 665b93e..aff7bb1 100644
--- a/coreutils/fold.c
+++ b/coreutils/fold.c
@@ -10,13 +10,6 @@
Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
*/
-#include <ctype.h>
-#include <errno.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <sys/types.h>
-#include <unistd.h>
#include "busybox.h"
static unsigned long flags;
@@ -61,7 +54,7 @@ int fold_main(int argc, char **argv)
if (*a == '-' && !a[1])
break;
if (isdigit(*a)) {
- argv[i] = bb_xasprintf("-w%s", a);
+ argv[i] = xasprintf("-w%s", a);
}
}
}