This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[obv] Add static to linux_attach.
- From: Yao Qi <yao at codesourcery dot com>
- To: <gdb-patches at sourceware dot org>
- Date: Mon, 11 Jun 2012 15:18:42 +0800
- Subject: [obv] Add static to linux_attach.
Hi,
This patch addes 'static' to function linux_attach. Committed as it
is obvious.
gdb/gdbserver:
2012-06-11 Yao Qi <yao@codesourcery.com>
* linux-low.c (linux_attach): Add 'static'.
---
gdb/gdbserver/linux-low.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c
index 871f462..59fe1ca 100644
--- a/gdb/gdbserver/linux-low.c
+++ b/gdb/gdbserver/linux-low.c
@@ -817,7 +817,7 @@ linux_attach_lwp (unsigned long lwpid)
/* Attach to PID. If PID is the tgid, attach to it and all
of its threads. */
-int
+static int
linux_attach (unsigned long pid)
{
/* Attach to PID. We will check for other threads
--
1.7.0.4