From 4e841acf4ef82a84a90d18497ba80bce6ef8c8f8 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Thu, 8 Mar 2012 22:54:30 +0000 Subject: gdb/ Fix -Wmissing-prototypes build. * arm-linux-nat.c (get_thread_id): Make it static. * xtensa-linux-nat.c (get_thread_id): Likewise. --- gdb/arm-linux-nat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/arm-linux-nat.c') diff --git a/gdb/arm-linux-nat.c b/gdb/arm-linux-nat.c index d5016196be9..c5ce21ca0be 100644 --- a/gdb/arm-linux-nat.c +++ b/gdb/arm-linux-nat.c @@ -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); -- cgit v1.2.1