aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2012-03-12 21:08:44 +0000
committerMark Kettenis <kettenis@gnu.org>2012-03-12 21:08:44 +0000
commit460fac3cfa614deb97011d6611d44d3d1b48f59a (patch)
tree9aaab50db726131f4e624609f92c7d0d6dda919e
parente1aca11ede8b3722285f500f6efd050c24f2967b (diff)
downloadgdb-460fac3cfa614deb97011d6611d44d3d1b48f59a.zip
gdb-460fac3cfa614deb97011d6611d44d3d1b48f59a.tar.gz
gdb-460fac3cfa614deb97011d6611d44d3d1b48f59a.tar.bz2
* inf-ptrace.c (inf_ptrace_post_attach): Make static.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/inf-ptrace.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a42c007..f1ead02 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2012-03-12 Mark Kettenis <kettenis@gnu.org>
+
+ * inf-ptrace.c (inf_ptrace_post_attach): Make static.
+
2012-03-12 Chris January <chris.january@allinea.com>
* aix-thread.c (_initialize_aix_thread): Add prototype.
diff --git a/gdb/inf-ptrace.c b/gdb/inf-ptrace.c
index 396c2f7..fc8ab87 100644
--- a/gdb/inf-ptrace.c
+++ b/gdb/inf-ptrace.c
@@ -250,7 +250,7 @@ inf_ptrace_attach (struct target_ops *ops, char *args, int from_tty)
#ifdef PT_GET_PROCESS_STATE
-void
+static void
inf_ptrace_post_attach (int pid)
{
ptrace_event_t pe;