mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 09:38:57 +00:00
Purge last remaining make_cleanup_func.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user