Comment on kernel stuff
authorEric Andersen <andersen@codepoet.org>
Mon, 10 Jul 2000 22:57:14 +0000 (22:57 -0000)
committerEric Andersen <andersen@codepoet.org>
Mon, 10 Jul 2000 22:57:14 +0000 (22:57 -0000)
 -Erik

coreutils/ls.c
ls.c
mount.c
procps/ps.c
ps.c
util-linux/mount.c
utility.c

index 98ccbeddb3535874e9ebcabef5fe9da1133e187c..0644cde877e7e4eb777a039a7a1afba61c5fcd6a 100644 (file)
 /************************************************************************/
 
 #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 98ccbeddb3535874e9ebcabef5fe9da1133e187c..0644cde877e7e4eb777a039a7a1afba61c5fcd6a 100644 (file)
--- a/ls.c
+++ b/ls.c
 /************************************************************************/
 
 #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 72734ae62380a73714eac98b488d7ef8cf8d52af..66599a618735e0b666fbd37acad4d6178568af9d 100644 (file)
--- 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
 
 
index 13b6ce541d4e9dd1ae2715916314dbc7e906cd04..a8d0005467732c8baaa356d108191a169b635c2d 100644 (file)
@@ -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 13b6ce541d4e9dd1ae2715916314dbc7e906cd04..a8d0005467732c8baaa356d108191a169b635c2d 100644 (file)
--- 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)
index 72734ae62380a73714eac98b488d7ef8cf8d52af..66599a618735e0b666fbd37acad4d6178568af9d 100644 (file)
@@ -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
 
 
index b4e0434d99b8a2c2060ba33bae6d5c82e92cdbec..ef52ce2f7142f23a8e08a68783e29aa58eece441 100644 (file)
--- 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