aboutsummaryrefslogtreecommitdiff
path: root/gdb/cleanups.h
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2012-04-17 21:24:47 +0000
committerDoug Evans <dje@google.com>2012-04-17 21:24:47 +0000
commit58d5e2c3ff4b447730a33cde385905bf5f4436c0 (patch)
treefcf7b0daaf82922b6c4bc489768310934562cea0 /gdb/cleanups.h
parentc27f5738407bad7199f3d532b3648f24508a7fd4 (diff)
downloadgdb-58d5e2c3ff4b447730a33cde385905bf5f4436c0.zip
gdb-58d5e2c3ff4b447730a33cde385905bf5f4436c0.tar.gz
gdb-58d5e2c3ff4b447730a33cde385905bf5f4436c0.tar.bz2
* cleanups.c (make_my_cleanup,make_my_cleanup2): Make static.
(discard_my_cleanups,save_my_cleanups,restore_my_cleanups): Ditto. * cleanups.h (make_my_cleanup,make_my_cleanup2): Delete (discard_my_cleanups,save_my_cleanups,restore_my_cleanups): Delete.
Diffstat (limited to 'gdb/cleanups.h')
-rw-r--r--gdb/cleanups.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/gdb/cleanups.h b/gdb/cleanups.h
index 80cbada..689c0d1 100644
--- a/gdb/cleanups.h
+++ b/gdb/cleanups.h
@@ -61,12 +61,6 @@ extern struct cleanup *make_cleanup_dtor (make_cleanup_ftype *, void *,
extern struct cleanup *make_final_cleanup (make_cleanup_ftype *, void *);
-extern struct cleanup *make_my_cleanup (struct cleanup **,
- make_cleanup_ftype *, void *);
-extern struct cleanup *make_my_cleanup2 (struct cleanup **,
- make_cleanup_ftype *, void *,
- void (*free_arg) (void *));
-
/* A special value to pass to do_cleanups and do_final_cleanups
to tell them to do all cleanups. */
#define ALL_CLEANUPS ((struct cleanup *)0)
@@ -76,15 +70,12 @@ extern void do_final_cleanups (struct cleanup *);
extern void discard_cleanups (struct cleanup *);
extern void discard_final_cleanups (struct cleanup *);
-extern void discard_my_cleanups (struct cleanup **, struct cleanup *);
extern struct cleanup *save_cleanups (void);
extern struct cleanup *save_final_cleanups (void);
-extern struct cleanup *save_my_cleanups (struct cleanup **);
extern void restore_cleanups (struct cleanup *);
extern void restore_final_cleanups (struct cleanup *);
-extern void restore_my_cleanups (struct cleanup **, struct cleanup *);
/* A no-op cleanup.
This is useful when you want to establish a known reference point