From: Jim Meyering Date: Wed, 26 Jun 1996 12:05:35 +0000 (+0000) Subject: (same_name): Declare parameters to be const. X-Git-Tag: FILEUTILS-3_12o~31 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d9c0413f798c8c2d001263a0ae9cd2a9906ded47;p=thirdparty%2Fcoreutils.git (same_name): Declare parameters to be const. --- diff --git a/src/ln.c b/src/ln.c index cc4251b61a..3c40037e84 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;