aboutsummaryrefslogtreecommitdiff
path: root/coreutils/chown.c
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2003-09-24 03:22:57 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2003-09-24 03:22:57 +0000
commiteebcc1d98a9901ff69ffb97ba99bccd36666000f (patch)
treead1e21191b4aef5ff0c0fa9c30717e77d023cc5d /coreutils/chown.c
parentd72e34c7524a947ba004afff91272c27549b3085 (diff)
downloadbusybox-eebcc1d98a9901ff69ffb97ba99bccd36666000f.tar.gz
Add the "install" applet, move get_ug_id to libbb as its used by chown,
chgrp and install.
Diffstat (limited to 'coreutils/chown.c')
-rw-r--r--coreutils/chown.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/coreutils/chown.c b/coreutils/chown.c
index 02b752474..07d673f28 100644
--- a/coreutils/chown.c
+++ b/coreutils/chown.c
@@ -53,19 +53,6 @@ static int fileAction(const char *fileName, struct stat *statbuf, void* junk)
#define FLAG_R 1
#define FLAG_h 2
-static unsigned long get_ug_id(const char *s, long (*my_getxxnam)(const char *))
-{
- unsigned long r;
- char *p;
-
- r = strtoul(s, &p, 10);
- if (*p || (s == p)) {
- r = my_getxxnam(s);
- }
-
- return r;
-}
-
int chown_main(int argc, char **argv)
{
int flags;