summaryrefslogtreecommitdiff
path: root/chgrp.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-04-25 05:39:18 +0000
committerEric Andersen <andersen@codepoet.org>2001-04-25 05:39:18 +0000
commit04095e58fb4d3a083f77962714080ffe8139b39c (patch)
treeaa3580587822774ffed9831aacee11d977d0a5f9 /chgrp.c
parent3676374915866fb06224a19e2274afe026eb9377 (diff)
downloadbusybox-w32-04095e58fb4d3a083f77962714080ffe8139b39c.tar.gz
busybox-w32-04095e58fb4d3a083f77962714080ffe8139b39c.tar.bz2
busybox-w32-04095e58fb4d3a083f77962714080ffe8139b39c.zip
Move messages.c to libbb. Make each string in messages.c be its own .o file.
This way, we can new get rid of all that tedious #define rubbish we used to need to enable specific messages. This way is enormously simpler, and as a bonus also ends up saving us 96 bytes. -Erik
Diffstat (limited to 'chgrp.c')
-rw-r--r--chgrp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/chgrp.c b/chgrp.c
index 739d09fb6..c6312a7e4 100644
--- a/chgrp.c
+++ b/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)