]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/tlink.c
c-common.c (c_tree_code_name): Const-ification.
[thirdparty/gcc.git] / gcc / tlink.c
index d74e02661afe4469efd7709607da5930d34f3eaa..4a669b46fd91f6e08cb9b95d51b5888b1a8fabb4 100644 (file)
@@ -502,7 +502,7 @@ recompile_files ()
     {
       char *line, *command;
       FILE *stream = fopen ((char*) f->root.key, "r");
-      const char *outname = frob_extension ((char*) f->root.key, ".rnw");
+      const char *const outname = frob_extension ((char*) f->root.key, ".rnw");
       FILE *output = fopen (outname, "w");
 
       while ((line = tfgets (stream)) != NULL)