diff options
author | Etienne Cordonnier <ecordonnier@snap.com> | 2023-03-15 17:40:37 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-03-15 15:25:12 -0700 |
commit | 0c7dbd7eefd775303e1a29b5466fb9aa3ed4d838 (patch) | |
tree | 22a291b1e4ee7fa4ebd1186f8fd31e0fe1227f37 /dynamic-layers/selinux/android-tools/android-tools/core-debian/fix-gettid-exception-declaration.patch | |
parent | 204dadaf378e44d6c53d3bee1c2a54aaf38d666c (diff) | |
download | meta-clang-0c7dbd7eefd775303e1a29b5466fb9aa3ed4d838.tar.gz |
android-tools: remove recipe and dynamic-layer
The recipe has been patched to remove the clang dependency and moved to meta-openembedded at
https://github.com/openembedded/meta-openembedded/tree/master/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Diffstat (limited to 'dynamic-layers/selinux/android-tools/android-tools/core-debian/fix-gettid-exception-declaration.patch')
-rw-r--r-- | dynamic-layers/selinux/android-tools/android-tools/core-debian/fix-gettid-exception-declaration.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/dynamic-layers/selinux/android-tools/android-tools/core-debian/fix-gettid-exception-declaration.patch b/dynamic-layers/selinux/android-tools/android-tools/core-debian/fix-gettid-exception-declaration.patch deleted file mode 100644 index 3622d7e..0000000 --- a/dynamic-layers/selinux/android-tools/android-tools/core-debian/fix-gettid-exception-declaration.patch +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | --- a/libcutils/include/cutils/threads.h | ||
2 | +++ b/libcutils/include/cutils/threads.h | ||
3 | @@ -33,7 +33,7 @@ | ||
4 | // Deprecated: use android::base::GetThreadId instead, which doesn't truncate on Mac/Windows. | ||
5 | // | ||
6 | |||
7 | -extern pid_t gettid(); | ||
8 | +extern pid_t gettid(void) __THROW; | ||
9 | |||
10 | // | ||
11 | // Deprecated: use `_Thread_local` in C or `thread_local` in C++. | ||
12 | --- a/libcutils/threads.cpp | ||
13 | +++ b/libcutils/threads.cpp | ||
14 | @@ -33,7 +33,7 @@ | ||
15 | |||
16 | // No definition needed for Android because we'll just pick up bionic's copy. | ||
17 | #ifndef __ANDROID__ | ||
18 | -pid_t gettid() { | ||
19 | +pid_t gettid(void) __THROW { | ||
20 | #if defined(__APPLE__) | ||
21 | uint64_t tid; | ||
22 | pthread_threadid_np(NULL, &tid); | ||