]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
not-procfs.c: Make procfs_find_new_threads and procfs_pid_to_str static.
authorJoel Brobecker <brobecker@gnat.com>
Thu, 3 May 2012 22:07:58 +0000 (22:07 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Thu, 3 May 2012 22:07:58 +0000 (22:07 +0000)
gdb/ChangeLog:

        * nto-procfs.c (procfs_find_new_threads, procfs_pid_to_str):
        Make static.

gdb/ChangeLog
gdb/nto-procfs.c

index bc33f41308b9560ecfdb85bb29dd73631329cc21..b02c026b821d54fa1d4363880a9796830bbf626e 100644 (file)
@@ -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.
index bb36311b30ec1a3f3117b1845ec41c38ddb11065..82d2b584e642cf4cc92a86c1df2e947fad99205f 100644 (file)
@@ -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];