aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2014-06-17 12:57:06 -0600
committerTom Tromey <tromey@redhat.com>2014-06-17 12:57:06 -0600
commit3bca49eec22679298a36f7fb2059169c61b7cbfa (patch)
tree4f2db228e279ad092b2dc42bff532a3e0937eb1e
parent6e366df19d789254b8e26cc7620218ce98df324f (diff)
downloadgdb-3bca49eec22679298a36f7fb2059169c61b7cbfa.zip
gdb-3bca49eec22679298a36f7fb2059169c61b7cbfa.tar.gz
gdb-3bca49eec22679298a36f7fb2059169c61b7cbfa.tar.bz2
remove redundant savestring declaration
I happened to notice that savestring is still declared in utils.h, despite the fact that it was moved to common/ a while back. This patch removes the redundant declaration. Tested by rebuilding. I'm committing this as obvious. 2014-06-17 Tom Tromey <tromey@redhat.com> * utils.h (savestring): Remove declaration.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/utils.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index bac875c..39bd3a8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2014-06-17 Tom Tromey <tromey@redhat.com>
+ * utils.h (savestring): Remove declaration.
+
+2014-06-17 Tom Tromey <tromey@redhat.com>
+
* remote.c (extended_remote_run): Use make_cleanup_freeargv.
2014-06-16 Keith Seitz <keiths@redhat.com>
diff --git a/gdb/utils.h b/gdb/utils.h
index 0eba8ae..6e767dc 100644
--- a/gdb/utils.h
+++ b/gdb/utils.h
@@ -31,8 +31,6 @@ extern void initialize_utils (void);
extern int sevenbit_strings;
-extern char *savestring (const char *, size_t);
-
extern int strcmp_iw (const char *, const char *);
extern int strcmp_iw_ordered (const char *, const char *);