[commit] Delete unused procfs_pid_to_str extern in sol-thread.c
Joel Brobecker
brobecker@adacore.com
Wed May 2 23:11:00 GMT 2012
Hello,
I noticed the following extern declaration in sol-thread.c which is
actually not used.
gdb/ChangeLog:
* sol-thread.c (procfs_pid_to_str): Delete extern declaration.
Tested by rebuilding GDB on sparc-solaris. Checked in.
---
gdb/ChangeLog | 4 ++++
gdb/sol-thread.c | 2 --
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1e01180..c0601fa 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2012-05-02 Joel Brobecker <brobecker@adacore.com>
+
+ * sol-thread.c (procfs_pid_to_str): Delete extern declaration.
+
2012-05-02 Christopher Faylor <me.cygwin2012@cgf.cx>
* MAINTAINERS: Remove myself.
diff --git a/gdb/sol-thread.c b/gdb/sol-thread.c
index 3e5d9db..bfa1162 100644
--- a/gdb/sol-thread.c
+++ b/gdb/sol-thread.c
@@ -69,8 +69,6 @@
struct target_ops sol_thread_ops;
-extern char *procfs_pid_to_str (struct target_ops *ops, ptid_t ptid);
-
/* Prototypes for supply_gregset etc. */
#include "gregset.h"
--
1.7.1
More information about the Gdb-patches
mailing list