Vitaly Kuznetsov
0a053b9bee
selftests: kvm: fix build with glibc >= 2.30
[ Upstream commit e37f9f139f ]
Glibc-2.30 gained gettid() wrapper, selftests fail to compile:
lib/assert.c:58:14: error: static declaration of ‘gettid’ follows non-static declaration
58 | static pid_t gettid(void)
| ^~~~~~
In file included from /usr/include/unistd.h:1170,
from include/test_util.h:18,
from lib/assert.c:10:
/usr/include/bits/unistd_ext.h:34:16: note: previous declaration of ‘gettid’ was here
34 | extern __pid_t gettid (void) __THROW;
| ^~~~~~
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-12-13 08:48:41 +01:00
..
2019-07-29 09:02:58 -03:00
2019-08-15 22:09:41 -07:00
2019-11-29 10:07:42 +01:00
2019-08-20 11:29:53 -04:00
2019-10-05 15:11:46 +02:00
2019-11-06 13:07:45 +01:00
2019-11-29 10:07:59 +01:00
2019-12-13 08:48:16 +01:00
2019-10-07 19:01:42 +02:00
2019-07-23 09:04:54 -03:00
2019-12-13 08:48:41 +01:00
2019-11-29 10:08:23 +01:00