aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-12-30 17:57:03 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-12-30 17:57:03 +0000
commit3bba545a54addf59b63a003e7ada03fd8b29b5ba (patch)
tree948ce196f871abcf9410ca1521a3d2a5af6a3082 /coreutils
parentb5a122b6f9643fb052d31390e435397960289154 (diff)
downloadbusybox-3bba545a54addf59b63a003e7ada03fd8b29b5ba.tar.gz
done a dozen of randconfig test. guess what? ALL failed...
these are resulting fixes
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/chgrp.c3
-rw-r--r--coreutils/diff.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/coreutils/chgrp.c b/coreutils/chgrp.c
index da5b12964..465ea0ccf 100644
--- a/coreutils/chgrp.c
+++ b/coreutils/chgrp.c
@@ -13,6 +13,9 @@
#include "busybox.h"
+/* FIXME - move to .h */
+extern int chown_main(int argc, char **argv);
+
int chgrp_main(int argc, char **argv)
{
/* "chgrp [opts] abc file(s)" == "chown [opts] :abc file(s)" */
diff --git a/coreutils/diff.c b/coreutils/diff.c
index a49d5195a..072e4bc20 100644
--- a/coreutils/diff.c
+++ b/coreutils/diff.c
@@ -71,7 +71,7 @@ int context, status;
char *start, *label[2];
struct stat stb1, stb2;
char **dl;
-static int dl_count;
+USE_FEATURE_DIFF_DIR(static int dl_count;)
struct cand {
int x;