diff options
Diffstat (limited to 'meta-networking/recipes-connectivity/freeradius/files/0010-fix-error-for-expansion-of-macro-in-thread.h.patch')
-rw-r--r-- | meta-networking/recipes-connectivity/freeradius/files/0010-fix-error-for-expansion-of-macro-in-thread.h.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta-networking/recipes-connectivity/freeradius/files/0010-fix-error-for-expansion-of-macro-in-thread.h.patch b/meta-networking/recipes-connectivity/freeradius/files/0010-fix-error-for-expansion-of-macro-in-thread.h.patch index 051b66af8f..cae27ad3a4 100644 --- a/meta-networking/recipes-connectivity/freeradius/files/0010-fix-error-for-expansion-of-macro-in-thread.h.patch +++ b/meta-networking/recipes-connectivity/freeradius/files/0010-fix-error-for-expansion-of-macro-in-thread.h.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 30ce5ccd62446349d432ff65d3fe8d46872423c8 Mon Sep 17 00:00:00 2001 | 1 | From 0475d948ceab91b22172f0fae3bc01e0a1502ae8 Mon Sep 17 00:00:00 2001 |
2 | From: Yi Zhao <yi.zhao@windriver.com> | 2 | From: Yi Zhao <yi.zhao@windriver.com> |
3 | Date: Wed, 18 Jan 2017 14:59:39 +0800 | 3 | Date: Wed, 18 Jan 2017 14:59:39 +0800 |
4 | Subject: [PATCH] fix error for expansion of macro in thread.h | 4 | Subject: [PATCH] fix error for expansion of macro in thread.h |
@@ -22,10 +22,10 @@ Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | |||
22 | 1 file changed, 5 insertions(+), 5 deletions(-) | 22 | 1 file changed, 5 insertions(+), 5 deletions(-) |
23 | 23 | ||
24 | diff --git a/src/include/threads.h b/src/include/threads.h | 24 | diff --git a/src/include/threads.h b/src/include/threads.h |
25 | index e36d81dac0..2bcb6aadcb 100644 | 25 | index f2aea776d6..1c4e526797 100644 |
26 | --- a/src/include/threads.h | 26 | --- a/src/include/threads.h |
27 | +++ b/src/include/threads.h | 27 | +++ b/src/include/threads.h |
28 | @@ -89,7 +89,7 @@ static _t __fr_thread_local_init_##_n(pthread_destructor_t func)\ | 28 | @@ -92,7 +92,7 @@ static _t __fr_thread_local_init_##_n(pthread_destructor_t func)\ |
29 | # define fr_thread_local_get(_n) _n | 29 | # define fr_thread_local_get(_n) _n |
30 | #elif defined(HAVE_PTHREAD_H) | 30 | #elif defined(HAVE_PTHREAD_H) |
31 | # include <pthread.h> | 31 | # include <pthread.h> |
@@ -34,7 +34,7 @@ index e36d81dac0..2bcb6aadcb 100644 | |||
34 | static pthread_key_t __fr_thread_local_key_##_n;\ | 34 | static pthread_key_t __fr_thread_local_key_##_n;\ |
35 | static pthread_once_t __fr_thread_local_once_##_n = PTHREAD_ONCE_INIT;\ | 35 | static pthread_once_t __fr_thread_local_once_##_n = PTHREAD_ONCE_INIT;\ |
36 | static pthread_destructor_t __fr_thread_local_destructor_##_n = NULL;\ | 36 | static pthread_destructor_t __fr_thread_local_destructor_##_n = NULL;\ |
37 | @@ -100,17 +100,17 @@ static void __fr_thread_local_destroy_##_n(UNUSED void *unused)\ | 37 | @@ -103,17 +103,17 @@ static void __fr_thread_local_destroy_##_n(UNUSED void *unused)\ |
38 | static void __fr_thread_local_key_init_##_n(void)\ | 38 | static void __fr_thread_local_key_init_##_n(void)\ |
39 | {\ | 39 | {\ |
40 | (void) pthread_key_create(&__fr_thread_local_key_##_n, __fr_thread_local_destroy_##_n);\ | 40 | (void) pthread_key_create(&__fr_thread_local_key_##_n, __fr_thread_local_destroy_##_n);\ |