From 744e4fe1db7099d91f71c50c83708cfef5d3d0c8 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sun, 23 Jul 2017 15:52:59 -0600 Subject: Remove make_cleanup_freeargv and gdb_buildargv After the previous patches in this series, make_cleanup_freeargv and gdb_buildargv are now unused and can be removed. ChangeLog 2017-08-03 Tom Tromey * utils.c (make_cleanup_freeargv, do_freeargv, gdb_buildargv): Remove. * utils.h (make_cleanup_freeargv, gdb_buildargv): Remove. --- gdb/utils.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'gdb/utils.h') diff --git a/gdb/utils.h b/gdb/utils.h index 88cab4b..c922a22 100644 --- a/gdb/utils.h +++ b/gdb/utils.h @@ -85,8 +85,6 @@ extern int parse_pid_to_attach (const char *args); extern int parse_escape (struct gdbarch *, const char **); -char **gdb_buildargv (const char *); - /* A wrapper for an array of char* that was allocated in the way that 'buildargv' does, and should be freed with 'freeargv'. */ @@ -207,8 +205,6 @@ private: /* Cleanup utilities. */ -extern struct cleanup *make_cleanup_freeargv (char **); - struct ui_out; extern struct cleanup * make_cleanup_ui_out_redirect_pop (struct ui_out *uiout); -- cgit v1.1