Modified to include du

This commit is contained in:
John Beppu 1999-12-09 18:29:29 +00:00
parent 0f5e1ab949
commit 7a98606d85
4 changed files with 8 additions and 0 deletions

View File

@ -45,6 +45,9 @@ static const struct Applet applets[] = {
#ifdef BB_DMESG //bin #ifdef BB_DMESG //bin
{"dmesg", dmesg_main}, {"dmesg", dmesg_main},
#endif #endif
#ifdef BB_DU //bin
{"du", du_main},
#endif
#ifdef BB_DUTMP //usr/sbin #ifdef BB_DUTMP //usr/sbin
{"dutmp", dutmp_main}, {"dutmp", dutmp_main},
#endif #endif

View File

@ -45,6 +45,9 @@ static const struct Applet applets[] = {
#ifdef BB_DMESG //bin #ifdef BB_DMESG //bin
{"dmesg", dmesg_main}, {"dmesg", dmesg_main},
#endif #endif
#ifdef BB_DU //bin
{"du", du_main},
#endif
#ifdef BB_DUTMP //usr/sbin #ifdef BB_DUTMP //usr/sbin
{"dutmp", dutmp_main}, {"dutmp", dutmp_main},
#endif #endif

View File

@ -14,6 +14,7 @@
#define BB_DF #define BB_DF
#define BB_DMESG #define BB_DMESG
//#define BB_DUTMP //#define BB_DUTMP
#define BB_DU
//#define BB_FDFLUSH //#define BB_FDFLUSH
#define BB_FIND #define BB_FIND
#define BB_FREE #define BB_FREE

View File

@ -63,6 +63,7 @@ extern int date_main(int argc, char** argv);
extern int dd_main(int argc, char** argv); extern int dd_main(int argc, char** argv);
extern int df_main(int argc, char** argv); extern int df_main(int argc, char** argv);
extern int dmesg_main(int argc, char** argv); extern int dmesg_main(int argc, char** argv);
extern int du_main(int argc, char** argv);
extern int dutmp_main(int argc, char** argv); extern int dutmp_main(int argc, char** argv);
extern int false_main(int argc, char** argv); extern int false_main(int argc, char** argv);
extern int fdisk_main(int argc, char** argv); extern int fdisk_main(int argc, char** argv);