aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-01-27 12:50:12 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-01-27 12:50:12 +0000
commitf470196a4144dd586f8b80efeef4aca39cf11514 (patch)
tree82fb31007e47f4eb2a31e8bb7bb9e6229a40dc36 /miscutils
parent61160dd0a155364d30b7009b69e2a15afa651a2c (diff)
downloadbusybox-f470196a4144dd586f8b80efeef4aca39cf11514.tar.gz
- fix conflicting decls of syslog related facilitynames and prioritynames tables
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/crond.c2
-rw-r--r--miscutils/devfsd.c11
2 files changed, 4 insertions, 9 deletions
diff --git a/miscutils/crond.c b/miscutils/crond.c
index fd20e6a57..0df143ae7 100644
--- a/miscutils/crond.c
+++ b/miscutils/crond.c
@@ -11,8 +11,8 @@
* Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
*/
-#include <sys/syslog.h>
#include "libbb.h"
+#include <syslog.h>
#ifndef CRONTABS
#define CRONTABS "/var/spool/cron/crontabs"
diff --git a/miscutils/devfsd.c b/miscutils/devfsd.c
index 9990142c2..52a65bc98 100644
--- a/miscutils/devfsd.c
+++ b/miscutils/devfsd.c
@@ -53,17 +53,12 @@
The postal address is:
Richard Gooch, c/o ATNF, P. O. Box 76, Epping, N.S.W., 2121, Australia.
*/
-
-//#include <sys/wait.h>
-//#include <sys/ioctl.h>
-//#include <sys/socket.h>
-#include <sys/un.h>
-#include <dirent.h>
-#include <syslog.h>
-#include <sys/sysmacros.h>
#include "libbb.h"
#include "xregex.h"
+#include <syslog.h>
+#include <sys/un.h>
+#include <sys/sysmacros.h>
/* Various defines taken from linux/major.h */
#define IDE0_MAJOR 3