]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
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 bac875cd67c84e4515d1652544a8030d8a69d797..39bd3a837e883ab867d3a7295e3a5cad32e04fb3 100644 (file)
@@ -1,3 +1,7 @@
+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.
index 0eba8aeb11439fe55e7f724204c20c0ac7f6bc74..6e767dc13a8f46106669e4c040e9670cb6289ac4 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 *);