]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(same_name): Declare parameters to be const.
authorJim Meyering <jim@meyering.net>
Wed, 26 Jun 1996 12:05:35 +0000 (12:05 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 26 Jun 1996 12:05:35 +0000 (12:05 +0000)
src/ln.c

index cc4251b61a9f75c680f52793584f998b7495c8ac..3c40037e84fa54c4b7ba8bdab0d1eed434343398 100644 (file)
--- 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;