From 3bba545a54addf59b63a003e7ada03fd8b29b5ba Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 30 Dec 2006 17:57:03 +0000 Subject: done a dozen of randconfig test. guess what? ALL failed... these are resulting fixes --- coreutils/chgrp.c | 3 +++ coreutils/diff.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'coreutils') 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; -- cgit v1.2.3