public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [FYI] remove redundant savestring declaration
@ 2014-06-17 18:58 Tom Tromey
  0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2014-06-17 18:58 UTC (permalink / raw)
  To: gdb-patches; +Cc: Tom Tromey

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 | 4 ++++
 gdb/utils.h   | 2 --
 2 files changed, 4 insertions(+), 2 deletions(-)

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 *);
-- 
1.9.3

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-06-17 18:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-17 18:58 [FYI] remove redundant savestring declaration Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).