This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] Delete unused procfs_pid_to_str extern in sol-thread.c
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Cc: Joel Brobecker <brobecker at adacore dot com>
- Date: Wed, 2 May 2012 16:11:04 -0700
- Subject: [commit] Delete unused procfs_pid_to_str extern in sol-thread.c
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