From 94c742391377e4eb064eb0ff192f017fec88c093 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Thu, 3 May 2012 22:07:58 +0000 Subject: not-procfs.c: Make procfs_find_new_threads and procfs_pid_to_str static. gdb/ChangeLog: * nto-procfs.c (procfs_find_new_threads, procfs_pid_to_str): Make static. --- gdb/ChangeLog | 5 +++++ gdb/nto-procfs.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bc33f41..b02c026 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-05-03 Joel Brobecker + + * nto-procfs.c (procfs_find_new_threads, procfs_pid_to_str): + Make static. + 2012-05-03 Sergio Durigan Junior * stap-probe.c (stap_is_operator): Change declaration. diff --git a/gdb/nto-procfs.c b/gdb/nto-procfs.c index bb36311..82d2b58 100644 --- a/gdb/nto-procfs.c +++ b/gdb/nto-procfs.c @@ -312,7 +312,7 @@ update_thread_private_data (struct thread_info *new_thread, #endif /* _NTO_VERSION */ } -void +static void procfs_find_new_threads (struct target_ops *ops) { procfs_status status; @@ -1353,7 +1353,7 @@ procfs_thread_info (pid_t pid, short tid) return NULL; } -char * +static char * procfs_pid_to_str (struct target_ops *ops, ptid_t ptid) { static char buf[1024]; -- cgit v1.1