summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--coreutils/ls.c4
-rw-r--r--ls.c4
-rw-r--r--mount.c2
-rw-r--r--procps/ps.c2
-rw-r--r--ps.c2
-rw-r--r--util-linux/mount.c2
-rw-r--r--utility.c4
7 files changed, 6 insertions, 14 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c
index 98ccbed..0644cde 100644
--- a/coreutils/ls.c
+++ b/coreutils/ls.c
@@ -49,11 +49,7 @@
/************************************************************************/
#include "internal.h"
-//#if !defined(__GLIBC__) && (__GLIBC__ >= 2) && (__GLIBC_MINOR__ >= 1)
-//# include <linux/types.h>
-//#else
# include <sys/types.h>
-//#endif
#include <sys/stat.h>
#include <stdio.h>
#include <unistd.h>
diff --git a/ls.c b/ls.c
index 98ccbed..0644cde 100644
--- a/ls.c
+++ b/ls.c
@@ -49,11 +49,7 @@
/************************************************************************/
#include "internal.h"
-//#if !defined(__GLIBC__) && (__GLIBC__ >= 2) && (__GLIBC_MINOR__ >= 1)
-//# include <linux/types.h>
-//#else
# include <sys/types.h>
-//#endif
#include <sys/stat.h>
#include <stdio.h>
#include <unistd.h>
diff --git a/mount.c b/mount.c
index 72734ae..66599a6 100644
--- a/mount.c
+++ b/mount.c
@@ -45,7 +45,7 @@
#include <mntent.h>
#include <ctype.h>
#if defined BB_FEATURE_USE_DEVPS_PATCH
-#include <linux/devmtab.h>
+#include <linux/devmtab.h> /* For Erik's nifty devmtab device driver */
#endif
diff --git a/procps/ps.c b/procps/ps.c
index 13b6ce5..a8d0005 100644
--- a/procps/ps.c
+++ b/procps/ps.c
@@ -203,7 +203,7 @@ extern int ps_main(int argc, char **argv)
* this one uses the nifty new devps kernel device.
*/
-#include <linux/devps.h>
+#include <linux/devps.h> /* For Erik's nifty devps device driver */
extern int ps_main(int argc, char **argv)
diff --git a/ps.c b/ps.c
index 13b6ce5..a8d0005 100644
--- a/ps.c
+++ b/ps.c
@@ -203,7 +203,7 @@ extern int ps_main(int argc, char **argv)
* this one uses the nifty new devps kernel device.
*/
-#include <linux/devps.h>
+#include <linux/devps.h> /* For Erik's nifty devps device driver */
extern int ps_main(int argc, char **argv)
diff --git a/util-linux/mount.c b/util-linux/mount.c
index 72734ae..66599a6 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -45,7 +45,7 @@
#include <mntent.h>
#include <ctype.h>
#if defined BB_FEATURE_USE_DEVPS_PATCH
-#include <linux/devmtab.h>
+#include <linux/devmtab.h> /* For Erik's nifty devmtab device driver */
#endif
diff --git a/utility.c b/utility.c
index b4e0434..ef52ce2 100644
--- a/utility.c
+++ b/utility.c
@@ -53,7 +53,7 @@
#if defined BB_FEATURE_MOUNT_LOOP
#include <fcntl.h>
-#include <linux/loop.h>
+#include <linux/loop.h> /* Pull in loop device support */
#endif
/* Busybox mount uses either /proc/filesystems or /dev/mtab to get the
@@ -1302,7 +1302,7 @@ extern int device_open(char *device, int mode)
#if defined BB_KILLALL || ( defined BB_FEATURE_LINUXRC && ( defined BB_HALT || defined BB_REBOOT || defined BB_POWEROFF ))
#ifdef BB_FEATURE_USE_DEVPS_PATCH
-#include <linux/devps.h>
+#include <linux/devps.h> /* For Erik's nifty devps device driver */
#endif
#if defined BB_FEATURE_USE_DEVPS_PATCH