]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
* src/mktemp.c (main): Add 'const' twice to avoid GCC warning.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 16 Oct 2008 20:27:08 +0000 (22:27 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 16 Oct 2008 20:27:08 +0000 (22:27 +0200)
src/mktemp.c

index 0555d41a8ed776f07d75f6b7d2018de3a75093b1..ffb21d466ff4743d43f0a9f969d1a141f11d6fec 100644 (file)
@@ -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;