From: Paul Eggert Date: Thu, 16 Oct 2008 20:27:08 +0000 (+0200) Subject: * src/mktemp.c (main): Add 'const' twice to avoid GCC warning. X-Git-Tag: v7.1~176 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=17278118eef6ee156c810bc3b624716034dcdf87;p=thirdparty%2Fcoreutils.git * src/mktemp.c (main): Add 'const' twice to avoid GCC warning. --- diff --git a/src/mktemp.c b/src/mktemp.c index 0555d41a8e..ffb21d466f 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;