aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Eric Andersen <andersen@codepoet.org>2002-10-22 20:08:51 +0000
committerGravatar Eric Andersen <andersen@codepoet.org>2002-10-22 20:08:51 +0000
commit080ddc1c199743fe2f46db5e877157cff602c93f (patch)
tree8f7f7b07b83d86368295dda46e91f9b1446017a7
parent5e02c67331a12e710aefd2fbdde06b671c306df7 (diff)
downloadbusybox-080ddc1c199743fe2f46db5e877157cff602c93f.tar.gz
busybox-080ddc1c199743fe2f46db5e877157cff602c93f.tar.bz2
mjn3 noticed that crond and crontab had #include <pwd.h> and #include <grp.h>
but this conflicted with the internal pwd_.h and grp_.h. Removing these headers is correct, since the correct pwd/grp headers will be included via busybox.h -Erik
-rw-r--r--miscutils/crond.c2
-rw-r--r--miscutils/crontab.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/miscutils/crond.c b/miscutils/crond.c
index 225d5026c..8ae54a536 100644
--- a/miscutils/crond.c
+++ b/miscutils/crond.c
@@ -22,9 +22,7 @@
#include <time.h>
#include <dirent.h>
#include <fcntl.h>
-#include <pwd.h>
#include <unistd.h>
-#include <grp.h>
#include <syslog.h>
#include <signal.h>
#include <getopt.h>
diff --git a/miscutils/crontab.c b/miscutils/crontab.c
index c86990653..4263d48dd 100644
--- a/miscutils/crontab.c
+++ b/miscutils/crontab.c
@@ -18,9 +18,7 @@
#include <time.h>
#include <dirent.h>
#include <fcntl.h>
-#include <pwd.h>
#include <unistd.h>
-#include <grp.h>
#include <syslog.h>
#include <signal.h>
#include <getopt.h>