Rename gettid() to gettid_sys() in gdbserver_tests.
commitd15f70a92507c30717a6461258971fedcf3c20c2
authorMark Wielaard <mark@klomp.org>
Mon, 4 Mar 2019 18:47:59 +0000 (4 19:47 +0100)
committerMark Wielaard <mark@klomp.org>
Wed, 13 Mar 2019 12:34:01 +0000 (13 13:34 +0100)
tree2de838ce76489b0648cac83fa24fe866a7df1215
parent4816357b5c7ee5284cdf72800a81d2dd1845388f
Rename gettid() to gettid_sys() in gdbserver_tests.

glibc might defined gettid() itself through unistd.h:
https://sourceware.org/bugzilla/show_bug.cgi?id=6399

Rename to gettid_sys() so we don't clash with the glibc definition.
gdbserver_tests/sleepers.c
gdbserver_tests/t.c