Purge last remaining make_cleanup_func.

This commit is contained in:
Andrew Cagney
2000-06-07 04:43:30 +00:00
parent b4a2023990
commit 6ecce94d48
4 changed files with 41 additions and 19 deletions

View File

@@ -306,13 +306,6 @@ extern void discard_final_cleanups (struct cleanup *);
extern void discard_exec_error_cleanups (struct cleanup *);
extern void discard_my_cleanups (struct cleanup **, struct cleanup *);
/* DEPRECATED: cagney/2000-03-04: Do not use this typedef to cast
function pointers so that they match the argument to the various
cleanup functions. Post GDB 5.0, this typedef will be
deleted. [Editors note: cagney was the person that added most of
those type casts] */
typedef void (*make_cleanup_func) (void *);
/* NOTE: cagney/2000-03-04: This typedef is strictly for the
make_cleanup function declarations below. Do not use this typedef
as a cast when passing functions into the make_cleanup() code.