summaryrefslogtreecommitdiff
path: root/src/ln.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-05-16 04:13:52 +0000
committerJim Meyering <jim@meyering.net>1996-05-16 04:13:52 +0000
commit699808bcad98119afd7a564151b446eebabe8fb1 (patch)
tree371d5336a80297480373c2752644d9092f3e1f0d /src/ln.c
parent7176037aa2f5f4f1a9c15d7281608623ceff3aaa (diff)
downloadcoreutils-699808bcad98119afd7a564151b446eebabe8fb1.tar.xz
(do_link): Declare pointer parameters to be const.
Diffstat (limited to 'src/ln.c')
-rw-r--r--src/ln.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ln.c b/src/ln.c
index 7b2d5ceb8..b24501e36 100644
--- a/src/ln.c
+++ b/src/ln.c
@@ -125,7 +125,7 @@ static struct option const long_options[] =
Return 1 if there is an error, otherwise 0. */
static int
-do_link (char *source, char *dest)
+do_link (const char *source, const char *dest)
{
struct stat source_stats;
struct stat dest_stats;