aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/chgrp.c4
-rw-r--r--coreutils/chmod.c3
-rw-r--r--coreutils/chown.c4
-rw-r--r--coreutils/date.c4
-rw-r--r--coreutils/du.c5
-rw-r--r--coreutils/ln.c3
-rw-r--r--coreutils/mkdir.c3
-rw-r--r--coreutils/test.c3
-rw-r--r--coreutils/tr.c3
9 files changed, 1 insertions, 31 deletions
diff --git a/coreutils/chgrp.c b/coreutils/chgrp.c
index 739d09fb6..c6312a7e4 100644
--- a/coreutils/chgrp.c
+++ b/coreutils/chgrp.c
@@ -27,10 +27,6 @@
27#include <string.h> 27#include <string.h>
28#include <unistd.h> 28#include <unistd.h>
29#include "busybox.h" 29#include "busybox.h"
30#define BB_DECLARE_EXTERN
31#define bb_need_invalid_option
32#define bb_need_too_few_args
33#include "messages.c"
34 30
35/* Don't use lchown for libc5 or glibc older then 2.1.x */ 31/* Don't use lchown for libc5 or glibc older then 2.1.x */
36#if (__GLIBC__ < 2) && (__GLIBC_MINOR__ < 1) 32#if (__GLIBC__ < 2) && (__GLIBC_MINOR__ < 1)
diff --git a/coreutils/chmod.c b/coreutils/chmod.c
index c3bef4ebe..5e12e76b9 100644
--- a/coreutils/chmod.c
+++ b/coreutils/chmod.c
@@ -28,9 +28,6 @@
28#include <unistd.h> 28#include <unistd.h>
29#include <getopt.h> 29#include <getopt.h>
30#include "busybox.h" 30#include "busybox.h"
31#define BB_DECLARE_EXTERN
32#define bb_need_too_few_args
33#include "messages.c"
34 31
35 32
36struct stat *theMode; 33struct stat *theMode;
diff --git a/coreutils/chown.c b/coreutils/chown.c
index f044a7527..b6059d048 100644
--- a/coreutils/chown.c
+++ b/coreutils/chown.c
@@ -27,10 +27,6 @@
27#include <string.h> 27#include <string.h>
28#include <unistd.h> 28#include <unistd.h>
29#include "busybox.h" 29#include "busybox.h"
30#define BB_DECLARE_EXTERN
31#define bb_need_too_few_args
32#include "messages.c"
33
34 30
35/* Don't use lchown for libc5 or glibc older then 2.1.x */ 31/* Don't use lchown for libc5 or glibc older then 2.1.x */
36#if (__GLIBC__ < 2) && (__GLIBC_MINOR__ < 1) 32#if (__GLIBC__ < 2) && (__GLIBC_MINOR__ < 1)
diff --git a/coreutils/date.c b/coreutils/date.c
index 4b2f66add..22a1304d5 100644
--- a/coreutils/date.c
+++ b/coreutils/date.c
@@ -29,10 +29,6 @@
29#include <string.h> 29#include <string.h>
30#include <getopt.h> 30#include <getopt.h>
31#include "busybox.h" 31#include "busybox.h"
32#define BB_DECLARE_EXTERN
33#define bb_need_invalid_date
34#define bb_need_memory_exhausted
35#include "messages.c"
36 32
37 33
38/* This 'date' command supports only 2 time setting formats, 34/* This 'date' command supports only 2 time setting formats,
diff --git a/coreutils/du.c b/coreutils/du.c
index 119895e49..3f7621b3d 100644
--- a/coreutils/du.c
+++ b/coreutils/du.c
@@ -31,9 +31,6 @@
31#include <string.h> 31#include <string.h>
32#include <errno.h> 32#include <errno.h>
33#include "busybox.h" 33#include "busybox.h"
34#define BB_DECLARE_EXTERN
35#define bb_need_name_too_long
36#include "messages.c"
37 34
38 35
39#ifdef BB_FEATURE_HUMAN_READABLE 36#ifdef BB_FEATURE_HUMAN_READABLE
@@ -192,7 +189,7 @@ int du_main(int argc, char **argv)
192 return status; 189 return status;
193} 190}
194 191
195/* $Id: du.c,v 1.44 2001/04/09 22:48:11 andersen Exp $ */ 192/* $Id: du.c,v 1.45 2001/04/25 05:39:18 andersen Exp $ */
196/* 193/*
197Local Variables: 194Local Variables:
198c-file-style: "linux" 195c-file-style: "linux"
diff --git a/coreutils/ln.c b/coreutils/ln.c
index 6d41cce62..7412a86fd 100644
--- a/coreutils/ln.c
+++ b/coreutils/ln.c
@@ -28,9 +28,6 @@
28#include <errno.h> 28#include <errno.h>
29#include <unistd.h> 29#include <unistd.h>
30#include "busybox.h" 30#include "busybox.h"
31#define BB_DECLARE_EXTERN
32#define bb_need_not_a_directory
33#include "messages.c"
34 31
35 32
36static const int LN_SYMLINK = 1; 33static const int LN_SYMLINK = 1;
diff --git a/coreutils/mkdir.c b/coreutils/mkdir.c
index 902da7c99..d78f57e2b 100644
--- a/coreutils/mkdir.c
+++ b/coreutils/mkdir.c
@@ -26,9 +26,6 @@
26#include <string.h> 26#include <string.h>
27#include <stdlib.h> 27#include <stdlib.h>
28#include "busybox.h" 28#include "busybox.h"
29#define bb_need_name_too_long
30#define BB_DECLARE_EXTERN
31#include "messages.c"
32 29
33 30
34static int parentFlag = FALSE; 31static int parentFlag = FALSE;
diff --git a/coreutils/test.c b/coreutils/test.c
index 79db8cbb6..9c66cbb87 100644
--- a/coreutils/test.c
+++ b/coreutils/test.c
@@ -38,9 +38,6 @@
38#include <stdlib.h> 38#include <stdlib.h>
39#include <string.h> 39#include <string.h>
40#include "busybox.h" 40#include "busybox.h"
41#define BB_DECLARE_EXTERN
42#define bb_need_help
43#include "messages.c"
44 41
45/* test(1) accepts the following grammar: 42/* test(1) accepts the following grammar:
46 oexpr ::= aexpr | aexpr "-o" oexpr ; 43 oexpr ::= aexpr | aexpr "-o" oexpr ;
diff --git a/coreutils/tr.c b/coreutils/tr.c
index ce15cfdf8..ff0f331ff 100644
--- a/coreutils/tr.c
+++ b/coreutils/tr.c
@@ -30,9 +30,6 @@
30#include <unistd.h> 30#include <unistd.h>
31#include <sys/types.h> 31#include <sys/types.h>
32#include "busybox.h" 32#include "busybox.h"
33#define BB_DECLARE_EXTERN
34#define bb_need_write_error
35#include "messages.c"
36 33
37static const int ASCII = 0377; 34static const int ASCII = 0377;
38 35