projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc59aae
)
avoid mixed declarations, to support older compilers just a little longer.
author
Paul Fox
<pgf@brightstareng.com>
Thu, 8 Dec 2005 18:48:20 +0000
(18:48 -0000)
committer
Paul Fox
<pgf@brightstareng.com>
Thu, 8 Dec 2005 18:48:20 +0000
(18:48 -0000)
coreutils/fold.c
patch
|
blob
|
history
diff --git
a/coreutils/fold.c
b/coreutils/fold.c
index 31412da079d4760473d0887204aca079734eafcc..e45a75b33e183d0cceabc42d6d75c2d884c58c0c 100644
(file)
--- a/
coreutils/fold.c
+++ b/
coreutils/fold.c
@@
-47,6
+47,8
@@
static int adjust_column(int column, char c)
extern int fold_main(int argc, char **argv)
{
+ char *w_opt;
+
/* If nonzero, at least one of the files we read was standard input. */
int have_read_stdin = 0;
@@
-74,7
+76,6
@@
extern int fold_main(int argc, char **argv)
}
}
- char *w_opt;
flags = bb_getopt_ulflags(argc, argv, "bsw:", &w_opt);
if (flags & 4)
width = bb_xgetlarg(w_opt, 10, 1, 10000);