summaryrefslogtreecommitdiff
path: root/src/ls.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/ls.c
parentdcb4b372409f52c5d6215aa64958a3eae050b945 (diff)
downloadcoreutils-59097c0922bb1888f0dcdc9ee5b51e33f18fba6f.tar.xz
Include "error.h" rather than simply declaring `void error ();'.
Diffstat (limited to 'src/ls.c')
-rw-r--r--src/ls.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ls.c b/src/ls.c
index a30a60350..7f04f5ce6 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -51,6 +51,7 @@
PATH_MAX. */
#include <limits.h>
#endif
+
#include "system.h"
#include <fnmatch.h>
@@ -59,6 +60,7 @@
#include "version.h"
#include "safe-stat.h"
#include "safe-lstat.h"
+#include "error.h"
#define obstack_chunk_alloc xmalloc
#define obstack_chunk_free free
@@ -95,7 +97,6 @@ char *getuser ();
char *xmalloc ();
char *xrealloc ();
int argmatch ();
-void error ();
void invalid_arg ();
static char *make_link_path ();