summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2012-03-12 21:08:42 +0000
committerMark Kettenis <kettenis@gnu.org>2012-03-12 21:08:42 +0000
commit402efa941c15e4bd21377c9d7f7b20588bac07dd (patch)
treece8cdd9d86a2b79be3743a1b4db0809c2fb9a744 /gdb
parentafae5bf85c2b98660a98768353bcffd0eee86a3f (diff)
downloadgdb-402efa941c15e4bd21377c9d7f7b20588bac07dd.tar.gz
* inf-ptrace.c (inf_ptrace_post_attach): Make static.
Diffstat (limited to 'gdb')
-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 a42c0073dee..f1ead02a03c 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 396c2f7407a..fc8ab87c5d5 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;