diff options
author | Jim Meyering <jim@meyering.net> | 1996-06-26 12:05:35 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-06-26 12:05:35 +0000 |
commit | d9c0413f798c8c2d001263a0ae9cd2a9906ded47 (patch) | |
tree | 7deda337553c87cd7db2ccd20cb2aa8a750f0a68 /src | |
parent | 216777ea1772271eb2dfd8bd802bdb178d2db28f (diff) | |
download | coreutils-d9c0413f798c8c2d001263a0ae9cd2a9906ded47.tar.xz |
(same_name): Declare parameters to be const.
Diffstat (limited to 'src')
-rw-r--r-- | src/ln.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |