From d9c0413f798c8c2d001263a0ae9cd2a9906ded47 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 26 Jun 1996 12:05:35 +0000 Subject: (same_name): Declare parameters to be const. --- src/ln.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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; -- cgit v1.2.3-54-g00ecf