summaryrefslogtreecommitdiff
path: root/src/rm.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/rm.c
parentdcb4b372409f52c5d6215aa64958a3eae050b945 (diff)
downloadcoreutils-59097c0922bb1888f0dcdc9ee5b51e33f18fba6f.tar.xz
Include "error.h" rather than simply declaring `void error ();'.
Diffstat (limited to 'src/rm.c')
-rw-r--r--src/rm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rm.c b/src/rm.c
index a90c64ccc..871a60dcf 100644
--- a/src/rm.c
+++ b/src/rm.c
@@ -21,9 +21,11 @@
#include <stdio.h>
#include <getopt.h>
#include <sys/types.h>
+
#include "system.h"
#include "version.h"
#include "safe-lstat.h"
+#include "error.h"
#ifdef D_INO_IN_DIRENT
#define D_INO(dp) ((dp)->d_ino)
@@ -38,7 +40,6 @@ char *xmalloc ();
char *xrealloc ();
int eaccess_stat ();
int yesno ();
-void error ();
void strip_trailing_slashes ();
static int clear_directory ();