Fix -Wmissing-prototypes build.
	* arm-linux-nat.c (get_thread_id): Make it static.
	* xtensa-linux-nat.c (get_thread_id): Likewise.
This commit is contained in:
Jan Kratochvil 2012-03-08 22:54:30 +00:00
parent c6030312dc
commit 4e841acf4e
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix -Wmissing-prototypes build.
* arm-linux-nat.c (get_thread_id): Make it static.
* xtensa-linux-nat.c (get_thread_id): Likewise.
2012-03-08 Joel Brobecker <brobecker@adacore.com>
* server.c (process_point_options): If a conditional expression

View File

@ -77,7 +77,7 @@ extern int arm_apcs_32;
individual thread (process) ID. get_thread_id () is used to get
the thread id if it's available, and the process id otherwise. */
int
static int
get_thread_id (ptid_t ptid)
{
int tid = TIDGET (ptid);

View File

@ -46,7 +46,7 @@
hardware-specific overlays. */
#include "xtensa-xtregs.c"
int
static int
get_thread_id (ptid_t ptid)
{
int tid = TIDGET (ptid);