From 6ecce94d4826f27539dcd85265a07ed6bd54f7ba Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 7 Jun 2000 04:43:30 +0000 Subject: Purge last remaining make_cleanup_func. --- gdb/defs.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'gdb/defs.h') diff --git a/gdb/defs.h b/gdb/defs.h index 400f630..093358f 100644 --- a/gdb/defs.h +++ b/gdb/defs.h @@ -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. -- cgit v1.1