Add make_cleanup_close() function.

This commit is contained in:
Andrew Cagney
2000-05-23 14:48:13 +00:00
parent ba09750c1e
commit f5ff8c83c8
3 changed files with 20 additions and 0 deletions

View File

@ -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 *);