]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(do_link): Declare pointer parameters to be const.
authorJim Meyering <jim@meyering.net>
Thu, 16 May 1996 04:13:52 +0000 (04:13 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 16 May 1996 04:13:52 +0000 (04:13 +0000)
src/ln.c

index 7b2d5ceb82483c42b24a4cddd007a49ec938df96..b24501e36c0d78f4a5e24bb88fc1662bbb71b0e3 100644 (file)
--- 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;