Comment on kernel stuff

-Erik
This commit is contained in:
Eric Andersen 2000-07-10 22:57:14 +00:00
parent 6315ce603b
commit c674d70699
7 changed files with 6 additions and 14 deletions

View File

@ -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>

4
ls.c
View File

@ -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>

View 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

View 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)

2
ps.c
View 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)

View 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

View File

@ -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