diff options
author | Joel Brobecker <brobecker@gnat.com> | 2012-05-03 22:07:58 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2012-05-03 22:07:58 +0000 |
commit | 94c742391377e4eb064eb0ff192f017fec88c093 (patch) | |
tree | 50670eafcb0b6a5826e568585a66d95fffb2b744 /gdb | |
parent | fcf57f192d8504db0c58634bcd4cd1b4e6e1bb9b (diff) | |
download | gdb-94c742391377e4eb064eb0ff192f017fec88c093.zip gdb-94c742391377e4eb064eb0ff192f017fec88c093.tar.gz gdb-94c742391377e4eb064eb0ff192f017fec88c093.tar.bz2 |
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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | 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 <brobecker@adacore.com> + + * nto-procfs.c (procfs_find_new_threads, procfs_pid_to_str): + Make static. + 2012-05-03 Sergio Durigan Junior <sergiodj@redhat.com> * 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]; |