diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-05-23 14:48:13 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-05-23 14:48:13 +0000 |
commit | f5ff8c83c82bcf6d152bf5390a6ca8716dab1de3 (patch) | |
tree | 125615c64e173d4680bd334d376661a38c1850f8 /gdb/defs.h | |
parent | ba09750c1eb83bff64c9ee1b0254de68da3ca1f2 (diff) | |
download | gdb-f5ff8c83c82bcf6d152bf5390a6ca8716dab1de3.zip gdb-f5ff8c83c82bcf6d152bf5390a6ca8716dab1de3.tar.gz gdb-f5ff8c83c82bcf6d152bf5390a6ca8716dab1de3.tar.bz2 |
Add make_cleanup_close() function.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r-- | gdb/defs.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -332,6 +332,8 @@ extern struct cleanup *make_cleanup_freeargv (char **); struct ui_file; extern struct cleanup *make_cleanup_ui_file_delete (struct ui_file *); +extern struct cleanup *make_cleanup_close (int fd); + extern struct cleanup *make_cleanup_bfd_close (bfd *abfd); extern struct cleanup *make_final_cleanup (make_cleanup_ftype *, void *); |