summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2008-10-16 22:27:08 +0200
committerJim Meyering <meyering@redhat.com>2008-10-16 22:27:08 +0200
commit17278118eef6ee156c810bc3b624716034dcdf87 (patch)
tree8439bcdf5f59b15aa5f331ed2bd597fc7cfd5e91 /src
parent7f6fb43e7dea2fcbb83b0c16c98adbcb8a63675f (diff)
downloadcoreutils-17278118eef6ee156c810bc3b624716034dcdf87.tar.xz
* src/mktemp.c (main): Add 'const' twice to avoid GCC warning.
Diffstat (limited to 'src')
-rw-r--r--src/mktemp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mktemp.c b/src/mktemp.c
index 0555d41a8..ffb21d466 100644
--- a/src/mktemp.c
+++ b/src/mktemp.c
@@ -126,8 +126,8 @@ mkdtemp_len (char *tmpl, size_t suff_len, bool dry_run)
int
main (int argc, char **argv)
{
- char *dest_dir;
- char *dest_dir_arg = NULL;
+ char const *dest_dir;
+ char const *dest_dir_arg = NULL;
bool suppress_stderr = false;
int c;
unsigned int n_args;