diff options
author | Jim Meyering <jim@meyering.net> | 1999-04-01 05:15:37 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-04-01 05:15:37 +0000 |
commit | a7b641acd55e50038dc5c94a5c3305d2f539fff7 (patch) | |
tree | 2dd3b371b897a5ae9b8cb0fa34ebb6b40f36b62f /src | |
parent | c4cf0531ffdb9dba5beef6978997cd88a69aad15 (diff) | |
download | coreutils-a7b641acd55e50038dc5c94a5c3305d2f539fff7.tar.xz |
(main): Qualify a char* with the `const' keyword.
Diffstat (limited to 'src')
-rw-r--r-- | src/ln.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -48,7 +48,7 @@ int symlink (); #define PATH_BASENAME_CONCAT(new_dest, dest, source) \ do \ { \ - char *source_base; \ + const char *source_base; \ char *tmp_source; \ \ tmp_source = (char *) alloca (strlen ((source)) + 1); \ @@ -377,7 +377,7 @@ main (int argc, char **argv) int c; int errors; int make_backups = 0; - char *version; + const char *version; program_name = argv[0]; setlocale (LC_ALL, ""); @@ -474,7 +474,7 @@ main (int argc, char **argv) else if (optind == argc - 2) { struct stat source_stats; - char *source; + const char *source; char *dest; char *new_dest; |