This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[FYI] remove redundant savestring declaration
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Cc: Tom Tromey <tromey at redhat dot com>
- Date: Tue, 17 Jun 2014 12:57:58 -0600
- Subject: [FYI] remove redundant savestring declaration
- Authentication-results: sourceware.org; auth=none
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