summaryrefslogtreecommitdiff
path: root/src/ln.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-06-26 12:05:35 +0000
committerJim Meyering <jim@meyering.net>1996-06-26 12:05:35 +0000
commitd9c0413f798c8c2d001263a0ae9cd2a9906ded47 (patch)
tree7deda337553c87cd7db2ccd20cb2aa8a750f0a68 /src/ln.c
parent216777ea1772271eb2dfd8bd802bdb178d2db28f (diff)
downloadcoreutils-d9c0413f798c8c2d001263a0ae9cd2a9906ded47.tar.xz
(same_name): Declare parameters to be const.
Diffstat (limited to 'src/ln.c')
-rw-r--r--src/ln.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ln.c b/src/ln.c
index cc4251b61..3c40037e8 100644
--- a/src/ln.c
+++ b/src/ln.c
@@ -120,11 +120,11 @@ static struct option const long_options[] =
{NULL, 0, NULL, 0}
};
-/* Check whether SOURCE and DEST point to the same name in the same
+/* Return nonzero if SOURCE and DEST point to the same name in the same
directory. */
static int
-same_name (char *source, char *dest)
+same_name (const char *source, const char *dest)
{
struct stat source_dir_stats;
struct stat dest_dir_stats;