aboutsummaryrefslogtreecommitdiff
path: root/gdb/utils.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-01-02 17:35:01 +0000
committerAndrew Cagney <cagney@redhat.com>2004-01-02 17:35:01 +0000
commite42c953419c841c0a2b90f9488e6f519e6e49f0b (patch)
treeb5cddf54a796184c1eb92db5b44dac9d4b9ea791 /gdb/utils.c
parent303e7b798f250bdd77ba441fe231a0b8d0836124 (diff)
downloadgdb-e42c953419c841c0a2b90f9488e6f519e6e49f0b.zip
gdb-e42c953419c841c0a2b90f9488e6f519e6e49f0b.tar.gz
gdb-e42c953419c841c0a2b90f9488e6f519e6e49f0b.tar.bz2
2004-01-02 Andrew Cagney <cagney@redhat.com>
* utils.c (do_my_cleanups): Make static, add forward declaration. * defs.h (do_my_cleanups): Delete declaration.
Diffstat (limited to 'gdb/utils.c')
-rw-r--r--gdb/utils.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/utils.c b/gdb/utils.c
index 5868465..ba936d5 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -96,6 +96,8 @@ static void vfprintf_maybe_filtered (struct ui_file *, const char *,
static void fputs_maybe_filtered (const char *, struct ui_file *, int);
+static void do_my_cleanups (struct cleanup **, struct cleanup *);
+
#if defined (USE_MMALLOC) && !defined (NO_MMCHECK)
static void malloc_botch (void);
#endif
@@ -311,7 +313,7 @@ do_exec_error_cleanups (struct cleanup *old_chain)
do_my_cleanups (&exec_error_cleanup_chain, old_chain);
}
-void
+static void
do_my_cleanups (struct cleanup **pmy_chain,
struct cleanup *old_chain)
{