remove redundant savestring declaration
authorTom Tromey <tromey@redhat.com>
Tue, 17 Jun 2014 18:57:06 +0000 (12:57 -0600)
committerTom Tromey <tromey@redhat.com>
Tue, 17 Jun 2014 18:57:06 +0000 (12:57 -0600)
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.

gdb/ChangeLog
gdb/utils.h

index bac875c..39bd3a8 100644 (file)
@@ -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>
index 0eba8ae..6e767dc 100644 (file)
@@ -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 *);