summaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-06-07 04:43:30 +0000
committerAndrew Cagney <cagney@redhat.com>2000-06-07 04:43:30 +0000
commit6ecce94d4826f27539dcd85265a07ed6bd54f7ba (patch)
treed8581850cbcab04a0482a3fbd9ce5b58956e4a80 /gdb/defs.h
parentb4a20239906ec8ba36a98e03d56d91603ce3ebb7 (diff)
downloadbinutils-gdb-6ecce94d4826f27539dcd85265a07ed6bd54f7ba.tar.gz
Purge last remaining make_cleanup_func.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index 400f630b765..093358ff859 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.