X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gas%2Foutput-file.c;h=2400786e7005d46a9d83158adbe66508e700eb29;hb=eb7b504651ff7b44a7328cd967629d8f1d114a4b;hp=41d767cfa6892c277f893aab22cf0ef4fbd53396;hpb=6f2750feaf2827ef8a1a0a5b2f90c1e9a6cabbd1;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/output-file.c b/gas/output-file.c index 41d767cfa6..2400786e70 100644 --- a/gas/output-file.c +++ b/gas/output-file.c @@ -1,5 +1,5 @@ /* output-file.c - Deal with the output file - Copyright (C) 1987-2016 Free Software Foundation, Inc. + Copyright (C) 1987-2019 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -28,7 +28,7 @@ bfd *stdoutput; void -output_file_create (char *name) +output_file_create (const char *name) { if (name[0] == '-' && name[1] == '\0') as_fatal (_("can't open a bfd on stdout %s"), name); @@ -50,7 +50,7 @@ output_file_create (char *name) } void -output_file_close (char *filename) +output_file_close (const char *filename) { bfd_boolean res;