aboutsummaryrefslogtreecommitdiff
path: root/gas/output-file.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2022-07-07 19:56:10 +0930
committerAlan Modra <amodra@gmail.com>2022-07-09 21:20:31 +0930
commit07e64e0b7c6cd4a73220eb57588d0db6b2a192e3 (patch)
treeb21fcb73f362e326904533bdbfa648bb9dce50b3 /gas/output-file.h
parentc30081c1f955a9fea2da8988bab96191e3d2171e (diff)
downloadbinutils-07e64e0b7c6cd4a73220eb57588d0db6b2a192e3.zip
binutils-07e64e0b7c6cd4a73220eb57588d0db6b2a192e3.tar.gz
binutils-07e64e0b7c6cd4a73220eb57588d0db6b2a192e3.tar.bz2
gas: output_file_close
This is mostly a tidy with the aim of being able to free out_file_name, but it does fix a possible attempt to unlink the output file twice (not that that matters). * as.h (keep_it): New global. * as.c (keep_it): Delete. (close_output_file): Delete, merged into.. * output-file.c (output_file_close): ..here. Delete parameter. * output-file.h (output_file_close): Update prototype.
Diffstat (limited to 'gas/output-file.h')
-rw-r--r--gas/output-file.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/output-file.h b/gas/output-file.h
index 8e738df..3c65e25 100644
--- a/gas/output-file.h
+++ b/gas/output-file.h
@@ -19,7 +19,7 @@
the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
void output_file_append (char *where, long length, char *filename);
-void output_file_close (const char *filename);
+void output_file_close (void);
void output_file_create (const char *name);
/* end of output-file.h */