X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gas%2Foutput-file.c;h=2400786e7005d46a9d83158adbe66508e700eb29;hb=f5d35bb7a5789950efd5f03b270d4c5f774eaba9;hp=d52fe16506565302ff27ac5f7c57572b178feb12;hpb=4b95cf5c0c75d6efc1b2f96af72317aecca079f1;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/output-file.c b/gas/output-file.c index d52fe16506..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-2014 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;