diff options
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0017-missing_type.h-add-__compar_d_fn_t-definition.patch')
-rw-r--r-- | meta/recipes-core/systemd/systemd/0017-missing_type.h-add-__compar_d_fn_t-definition.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/meta/recipes-core/systemd/systemd/0017-missing_type.h-add-__compar_d_fn_t-definition.patch b/meta/recipes-core/systemd/systemd/0017-missing_type.h-add-__compar_d_fn_t-definition.patch deleted file mode 100644 index 31747c6b40..0000000000 --- a/meta/recipes-core/systemd/systemd/0017-missing_type.h-add-__compar_d_fn_t-definition.patch +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | From 32dd7a47b87793cd836ab4bb776d1524f24c2d58 Mon Sep 17 00:00:00 2001 | ||
2 | From: Chen Qi <Qi.Chen@windriver.com> | ||
3 | Date: Mon, 25 Feb 2019 15:27:54 +0800 | ||
4 | Subject: [PATCH 17/26] missing_type.h: add __compar_d_fn_t definition | ||
5 | |||
6 | Fix the following compile failure: | ||
7 | src/basic/util.h:71:18: error: unknown type name '__compar_d_fn_t'; did you mean '__compar_fn_t'? | ||
8 | |||
9 | Upstream-Status: Inappropriate [musl specific] | ||
10 | |||
11 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | ||
12 | --- | ||
13 | src/basic/missing_type.h | 1 + | ||
14 | 1 file changed, 1 insertion(+) | ||
15 | |||
16 | diff --git a/src/basic/missing_type.h b/src/basic/missing_type.h | ||
17 | index 3df1084ef2..697aa7f58a 100644 | ||
18 | --- a/src/basic/missing_type.h | ||
19 | +++ b/src/basic/missing_type.h | ||
20 | @@ -13,6 +13,7 @@ | ||
21 | |||
22 | #ifndef __GLIBC__ | ||
23 | typedef int (*comparison_fn_t)(const void *, const void *); | ||
24 | +typedef int (*__compar_d_fn_t) (const void *, const void *, void *); | ||
25 | #endif | ||
26 | |||
27 | #ifndef __COMPAR_FN_T | ||
28 | -- | ||
29 | 2.27.0 | ||
30 | |||