diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-03-08 22:54:30 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-03-08 22:54:30 +0000 |
commit | 4e841acf4ef82a84a90d18497ba80bce6ef8c8f8 (patch) | |
tree | 37bdec346330fdb8fa3df0037280a0ea5ec8f639 /gdb/arm-linux-nat.c | |
parent | c6030312dc71fb9decf9c442ecce3baf41517a55 (diff) | |
download | gdb-4e841acf4ef82a84a90d18497ba80bce6ef8c8f8.zip gdb-4e841acf4ef82a84a90d18497ba80bce6ef8c8f8.tar.gz gdb-4e841acf4ef82a84a90d18497ba80bce6ef8c8f8.tar.bz2 |
gdb/
Fix -Wmissing-prototypes build.
* arm-linux-nat.c (get_thread_id): Make it static.
* xtensa-linux-nat.c (get_thread_id): Likewise.
Diffstat (limited to 'gdb/arm-linux-nat.c')
-rw-r--r-- | gdb/arm-linux-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/arm-linux-nat.c b/gdb/arm-linux-nat.c index d501619..c5ce21c 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); |