diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-07-10 22:57:14 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-07-10 22:57:14 +0000 |
commit | c674d70699ab2c03187be441e26801a73ac958bc (patch) | |
tree | 7c80d49c07e6937c4a68b89337e2c989202dfbe3 | |
parent | 6315ce603b3ac2f4998e926b6106da21bcc0066f (diff) | |
download | busybox-w32-c674d70699ab2c03187be441e26801a73ac958bc.tar.gz busybox-w32-c674d70699ab2c03187be441e26801a73ac958bc.tar.bz2 busybox-w32-c674d70699ab2c03187be441e26801a73ac958bc.zip |
Comment on kernel stuff
-Erik
-rw-r--r-- | coreutils/ls.c | 4 | ||||
-rw-r--r-- | ls.c | 4 | ||||
-rw-r--r-- | mount.c | 2 | ||||
-rw-r--r-- | procps/ps.c | 2 | ||||
-rw-r--r-- | ps.c | 2 | ||||
-rw-r--r-- | util-linux/mount.c | 2 | ||||
-rw-r--r-- | utility.c | 4 |
7 files changed, 6 insertions, 14 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c index 98ccbeddb..0644cde87 100644 --- a/coreutils/ls.c +++ b/coreutils/ls.c | |||
@@ -49,11 +49,7 @@ | |||
49 | /************************************************************************/ | 49 | /************************************************************************/ |
50 | 50 | ||
51 | #include "internal.h" | 51 | #include "internal.h" |
52 | //#if !defined(__GLIBC__) && (__GLIBC__ >= 2) && (__GLIBC_MINOR__ >= 1) | ||
53 | //# include <linux/types.h> | ||
54 | //#else | ||
55 | # include <sys/types.h> | 52 | # include <sys/types.h> |
56 | //#endif | ||
57 | #include <sys/stat.h> | 53 | #include <sys/stat.h> |
58 | #include <stdio.h> | 54 | #include <stdio.h> |
59 | #include <unistd.h> | 55 | #include <unistd.h> |
@@ -49,11 +49,7 @@ | |||
49 | /************************************************************************/ | 49 | /************************************************************************/ |
50 | 50 | ||
51 | #include "internal.h" | 51 | #include "internal.h" |
52 | //#if !defined(__GLIBC__) && (__GLIBC__ >= 2) && (__GLIBC_MINOR__ >= 1) | ||
53 | //# include <linux/types.h> | ||
54 | //#else | ||
55 | # include <sys/types.h> | 52 | # include <sys/types.h> |
56 | //#endif | ||
57 | #include <sys/stat.h> | 53 | #include <sys/stat.h> |
58 | #include <stdio.h> | 54 | #include <stdio.h> |
59 | #include <unistd.h> | 55 | #include <unistd.h> |
@@ -45,7 +45,7 @@ | |||
45 | #include <mntent.h> | 45 | #include <mntent.h> |
46 | #include <ctype.h> | 46 | #include <ctype.h> |
47 | #if defined BB_FEATURE_USE_DEVPS_PATCH | 47 | #if defined BB_FEATURE_USE_DEVPS_PATCH |
48 | #include <linux/devmtab.h> | 48 | #include <linux/devmtab.h> /* For Erik's nifty devmtab device driver */ |
49 | #endif | 49 | #endif |
50 | 50 | ||
51 | 51 | ||
diff --git a/procps/ps.c b/procps/ps.c index 13b6ce541..a8d000546 100644 --- a/procps/ps.c +++ b/procps/ps.c | |||
@@ -203,7 +203,7 @@ extern int ps_main(int argc, char **argv) | |||
203 | * this one uses the nifty new devps kernel device. | 203 | * this one uses the nifty new devps kernel device. |
204 | */ | 204 | */ |
205 | 205 | ||
206 | #include <linux/devps.h> | 206 | #include <linux/devps.h> /* For Erik's nifty devps device driver */ |
207 | 207 | ||
208 | 208 | ||
209 | extern int ps_main(int argc, char **argv) | 209 | extern int ps_main(int argc, char **argv) |
@@ -203,7 +203,7 @@ extern int ps_main(int argc, char **argv) | |||
203 | * this one uses the nifty new devps kernel device. | 203 | * this one uses the nifty new devps kernel device. |
204 | */ | 204 | */ |
205 | 205 | ||
206 | #include <linux/devps.h> | 206 | #include <linux/devps.h> /* For Erik's nifty devps device driver */ |
207 | 207 | ||
208 | 208 | ||
209 | extern int ps_main(int argc, char **argv) | 209 | extern int ps_main(int argc, char **argv) |
diff --git a/util-linux/mount.c b/util-linux/mount.c index 72734ae62..66599a618 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c | |||
@@ -45,7 +45,7 @@ | |||
45 | #include <mntent.h> | 45 | #include <mntent.h> |
46 | #include <ctype.h> | 46 | #include <ctype.h> |
47 | #if defined BB_FEATURE_USE_DEVPS_PATCH | 47 | #if defined BB_FEATURE_USE_DEVPS_PATCH |
48 | #include <linux/devmtab.h> | 48 | #include <linux/devmtab.h> /* For Erik's nifty devmtab device driver */ |
49 | #endif | 49 | #endif |
50 | 50 | ||
51 | 51 | ||
@@ -53,7 +53,7 @@ | |||
53 | 53 | ||
54 | #if defined BB_FEATURE_MOUNT_LOOP | 54 | #if defined BB_FEATURE_MOUNT_LOOP |
55 | #include <fcntl.h> | 55 | #include <fcntl.h> |
56 | #include <linux/loop.h> | 56 | #include <linux/loop.h> /* Pull in loop device support */ |
57 | #endif | 57 | #endif |
58 | 58 | ||
59 | /* Busybox mount uses either /proc/filesystems or /dev/mtab to get the | 59 | /* Busybox mount uses either /proc/filesystems or /dev/mtab to get the |
@@ -1302,7 +1302,7 @@ extern int device_open(char *device, int mode) | |||
1302 | 1302 | ||
1303 | #if defined BB_KILLALL || ( defined BB_FEATURE_LINUXRC && ( defined BB_HALT || defined BB_REBOOT || defined BB_POWEROFF )) | 1303 | #if defined BB_KILLALL || ( defined BB_FEATURE_LINUXRC && ( defined BB_HALT || defined BB_REBOOT || defined BB_POWEROFF )) |
1304 | #ifdef BB_FEATURE_USE_DEVPS_PATCH | 1304 | #ifdef BB_FEATURE_USE_DEVPS_PATCH |
1305 | #include <linux/devps.h> | 1305 | #include <linux/devps.h> /* For Erik's nifty devps device driver */ |
1306 | #endif | 1306 | #endif |
1307 | 1307 | ||
1308 | #if defined BB_FEATURE_USE_DEVPS_PATCH | 1308 | #if defined BB_FEATURE_USE_DEVPS_PATCH |