diff options
author | Jim Meyering <jim@meyering.net> | 1999-04-01 04:53:13 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-04-01 04:53:13 +0000 |
commit | 2500fe4079129d340fd1039e22d8caa9533fa567 (patch) | |
tree | 4285cb3a1dabd943bca554ca31e6278c9347afd0 | |
parent | 3a3189e6c3524a38b2c952417ff69087e9db5124 (diff) | |
download | coreutils-2500fe4079129d340fd1039e22d8caa9533fa567.tar.xz |
(main): Qualify a char* with the `const' keyword.
-rw-r--r-- | src/mkfifo.c | 2 | ||||
-rw-r--r-- | src/mknod.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mkfifo.c b/src/mkfifo.c index c34626947..a08ab57d2 100644 --- a/src/mkfifo.c +++ b/src/mkfifo.c @@ -76,7 +76,7 @@ main (int argc, char **argv) { unsigned short newmode; struct mode_change *change; - char *symbolic_mode; + const char *symbolic_mode; int errors = 0; int optc; diff --git a/src/mknod.c b/src/mknod.c index 9b01e09fb..f1c5d6985 100644 --- a/src/mknod.c +++ b/src/mknod.c @@ -86,7 +86,7 @@ main (int argc, char **argv) { unsigned short newmode; struct mode_change *change; - char *symbolic_mode; + const char *symbolic_mode; int optc; int i_major, i_minor; long int tmp_major, tmp_minor; |