svn commit: branches/busybox_scratch/coreutils

aldot at busybox.net aldot at busybox.net
Sun Aug 20 11:21:32 UTC 2006


Author: aldot
Date: 2006-08-20 04:21:32 -0700 (Sun, 20 Aug 2006)
New Revision: 15839

Log:
- remove redundant headers.


Modified:
   branches/busybox_scratch/coreutils/du.c


Changeset:
Modified: branches/busybox_scratch/coreutils/du.c
===================================================================
--- branches/busybox_scratch/coreutils/du.c	2006-08-20 11:20:06 UTC (rev 15838)
+++ branches/busybox_scratch/coreutils/du.c	2006-08-20 11:21:32 UTC (rev 15839)
@@ -23,11 +23,6 @@
  * 4) Fixed busybox bug #1284 involving long overflow with human_readable.
  */
 
-#include <stdlib.h>
-#include <limits.h>
-#include <unistd.h>
-#include <dirent.h>
-#include <sys/stat.h>
 #include "busybox.h"
 
 #ifdef CONFIG_FEATURE_HUMAN_READABLE
@@ -57,7 +52,7 @@
 static dev_t dir_dev;
 
 
-static void print(long size, char *filename)
+static void print(long size, const char * const filename)
 {
 	/* TODO - May not want to defer error checking here. */
 #ifdef CONFIG_FEATURE_HUMAN_READABLE
@@ -73,7 +68,7 @@
 }
 
 /* tiny recursive du */
-static long du(char *filename)
+static long du(const char * const filename)
 {
 	struct stat statbuf;
 	long sum;




More information about the busybox-cvs mailing list