delete tons of extra #includes

This commit is contained in:
Denis Vlasenko
2007-05-31 22:42:12 +00:00
parent fad2b86c9e
commit 9a7d38fe24
59 changed files with 68 additions and 176 deletions

View File

@@ -18,10 +18,6 @@
* the command line. Properly round *-blocks, Used, and Available quantities.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <mntent.h>
#include <sys/vfs.h>
#include "libbb.h"

View File

@@ -14,9 +14,6 @@
*/
#include "libbb.h"
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#define PRINT_REAL 1
#define NAME_NOT_NUMBER 2

View File

@@ -20,11 +20,8 @@
*
*/
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include "libbb.h"
#include "coreutils.h"
//#include "coreutils.h"
mode_t getopt_mk_fifo_nod(int argc, char **argv)
{

View File

@@ -8,9 +8,6 @@
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "libbb.h"
extern char **environ;

View File

@@ -30,12 +30,6 @@
* Now does proper error checking on i/o. Plus some further space savings.
*/
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/utsname.h>
#include "libbb.h"