summaryrefslogtreecommitdiff
path: root/src/du.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1994-12-27 13:36:22 +0000
committerJim Meyering <jim@meyering.net>1994-12-27 13:36:22 +0000
commit59097c0922bb1888f0dcdc9ee5b51e33f18fba6f (patch)
tree5492e5eb5822f0d6a106dda321628078d5c72bf3 /src/du.c
parentdcb4b372409f52c5d6215aa64958a3eae050b945 (diff)
downloadcoreutils-59097c0922bb1888f0dcdc9ee5b51e33f18fba6f.tar.xz
Include "error.h" rather than simply declaring `void error ();'.
Diffstat (limited to 'src/du.c')
-rw-r--r--src/du.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/du.c b/src/du.c
index 53711537a..f8161b9d1 100644
--- a/src/du.c
+++ b/src/du.c
@@ -44,10 +44,12 @@
#include <stdio.h>
#include <getopt.h>
#include <sys/types.h>
+
#include "system.h"
#include "version.h"
#include "safe-stat.h"
#include "safe-lstat.h"
+#include "error.h"
/* Initial number of entries in each hash table entry's table of inodes. */
#define INITIAL_HASH_MODULE 100
@@ -93,7 +95,6 @@ char *savedir ();
char *xgetcwd ();
char *xmalloc ();
char *xrealloc ();
-void error ();
static int hash_insert ();
static int hash_insert2 ();