From: Jim Meyering Date: Thu, 16 May 1996 04:13:52 +0000 (+0000) Subject: (do_link): Declare pointer parameters to be const. X-Git-Tag: TEXTUTILS-1_14e~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=699808bcad98119afd7a564151b446eebabe8fb1;p=thirdparty%2Fcoreutils.git (do_link): Declare pointer parameters to be const. --- diff --git a/src/ln.c b/src/ln.c index 7b2d5ceb82..b24501e36c 100644 --- 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;