summaryrefslogtreecommitdiff
path: root/src/ln.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/ln.c
parentdcb4b372409f52c5d6215aa64958a3eae050b945 (diff)
downloadcoreutils-59097c0922bb1888f0dcdc9ee5b51e33f18fba6f.tar.xz
Include "error.h" rather than simply declaring `void error ();'.
Diffstat (limited to 'src/ln.c')
-rw-r--r--src/ln.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ln.c b/src/ln.c
index c856c77d3..3bab2cfe5 100644
--- a/src/ln.c
+++ b/src/ln.c
@@ -25,11 +25,13 @@
#include <stdio.h>
#include <sys/types.h>
#include <getopt.h>
+
#include "system.h"
#include "backupfile.h"
#include "version.h"
#include "safe-lstat.h"
#include "safe-stat.h"
+#include "error.h"
int link (); /* Some systems don't declare this anywhere. */
@@ -61,7 +63,6 @@ char *basename ();
enum backup_type get_version ();
int isdir ();
int yesno ();
-void error ();
void strip_trailing_slashes ();
char *stpcpy ();