summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorEric Andersen2001-01-27 06:01:43 +0000
committerEric Andersen2001-01-27 06:01:43 +0000
commitab050f5522e843bf08994685134adaaac7ffd392 (patch)
treee3f2fbeb43186bbe44fb58ba5a7f6a3c4843c1a5 /coreutils
parent3654ca56fae6e3bdcb7369bc21d2b41d460ef732 (diff)
downloadbusybox-ab050f5522e843bf08994685134adaaac7ffd392.zip
busybox-ab050f5522e843bf08994685134adaaac7ffd392.tar.gz
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
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/id.c2
-rw-r--r--coreutils/uudecode.c1
-rw-r--r--coreutils/uuencode.c1
-rw-r--r--coreutils/whoami.c1
4 files changed, 0 insertions, 5 deletions
diff --git a/coreutils/id.c b/coreutils/id.c
index 59cfafa..d50de47 100644
--- a/coreutils/id.c
+++ b/coreutils/id.c
@@ -23,8 +23,6 @@
#include "busybox.h"
#include <stdio.h>
#include <unistd.h>
-#include <pwd.h>
-#include <grp.h>
#include <getopt.h>
#include <sys/types.h>
diff --git a/coreutils/uudecode.c b/coreutils/uudecode.c
index 279b9d6..7b26d2d 100644
--- a/coreutils/uudecode.c
+++ b/coreutils/uudecode.c
@@ -27,7 +27,6 @@
#include <stdio.h>
#include <errno.h>
#include <getopt.h>
-#include <pwd.h>
/*struct passwd *getpwnam();*/
diff --git a/coreutils/uuencode.c b/coreutils/uuencode.c
index 36bc497..24aabd3 100644
--- a/coreutils/uuencode.c
+++ b/coreutils/uuencode.c
@@ -27,7 +27,6 @@
#include <stdio.h>
#include <errno.h>
#include <getopt.h>
-#include <pwd.h>
#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 38a2b30..d7f0a17 100644
--- a/coreutils/whoami.c
+++ b/coreutils/whoami.c
@@ -22,7 +22,6 @@
#include "busybox.h"
#include <stdio.h>
-#include <pwd.h>
extern int whoami_main(int argc, char **argv)
{