From e42c953419c841c0a2b90f9488e6f519e6e49f0b Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 2 Jan 2004 17:35:01 +0000 Subject: 2004-01-02 Andrew Cagney * utils.c (do_my_cleanups): Make static, add forward declaration. * defs.h (do_my_cleanups): Delete declaration. --- gdb/utils.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gdb/utils.c') 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) { -- cgit v1.1