aboutsummaryrefslogtreecommitdiffstats
path: root/community/libselinux/musl.patch
blob: d7321af05dc68f4ab0febb60c73bca25e93c9422 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/src/procattr.c b/src/procattr.c
index 48dd8af..8fa31d8 100644
--- a/src/procattr.c
+++ b/src/procattr.c
@@ -22,14 +22,6 @@ static pthread_key_t destructor_key;
 static int destructor_key_initialized = 0;
 static __thread char destructor_initialized;
 
-#ifndef __BIONIC__
-/* Bionic declares this in unistd.h and has a definition for it */
-static pid_t gettid(void)
-{
-	return syscall(__NR_gettid);
-}
-#endif
-
 static void procattr_thread_destructor(void __attribute__((unused)) *unused)
 {
 	if (prev_current != UNSET)