From ab050f5522e843bf08994685134adaaac7ffd392 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 27 Jan 2001 06:01:43 +0000 Subject: Add in a patch to make busybox use the normal pwd.h and grp.h functions. Add in simple implementations of these functions, which can, optionally, be used instead of the system versions. -Erik --- coreutils/id.c | 2 -- coreutils/uudecode.c | 1 - coreutils/uuencode.c | 1 - coreutils/whoami.c | 1 - 4 files changed, 5 deletions(-) (limited to 'coreutils') diff --git a/coreutils/id.c b/coreutils/id.c index 59cfafa0a..d50de4775 100644 --- a/coreutils/id.c +++ b/coreutils/id.c @@ -23,8 +23,6 @@ #include "busybox.h" #include #include -#include -#include #include #include diff --git a/coreutils/uudecode.c b/coreutils/uudecode.c index 279b9d6ce..7b26d2dad 100644 --- a/coreutils/uudecode.c +++ b/coreutils/uudecode.c @@ -27,7 +27,6 @@ #include #include #include -#include /*struct passwd *getpwnam();*/ diff --git a/coreutils/uuencode.c b/coreutils/uuencode.c index 36bc4970f..24aabd373 100644 --- a/coreutils/uuencode.c +++ b/coreutils/uuencode.c @@ -27,7 +27,6 @@ #include #include #include -#include #define RW (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH) diff --git a/coreutils/whoami.c b/coreutils/whoami.c index 38a2b3078..d7f0a177c 100644 --- a/coreutils/whoami.c +++ b/coreutils/whoami.c @@ -22,7 +22,6 @@ #include "busybox.h" #include -#include extern int whoami_main(int argc, char **argv) { -- cgit v1.2.3