File tree Expand file tree Collapse file tree 6 files changed +24
-39
lines changed Expand file tree Collapse file tree 6 files changed +24
-39
lines changed Original file line number Diff line number Diff line change @@ -240,13 +240,13 @@ add_header_macro(
240
240
../libc/include/search.yaml
241
241
search.h
242
242
DEPENDS
243
- .llvm_libc_common_h
244
243
.llvm-libc-types.ACTION
245
244
.llvm-libc-types.ENTRY
246
- .llvm-libc-types.struct_hsearch_data
247
- .llvm-libc-types.size_t
248
245
.llvm-libc-types.VISIT
249
- .llvm-libc-types.__lsearchcompare_t
246
+ .llvm-libc-types.__search_compare_t
247
+ .llvm-libc-types.size_t
248
+ .llvm-libc-types.struct_hsearch_data
249
+ .llvm_libc_common_h
250
250
)
251
251
252
252
add_header_macro (
@@ -343,17 +343,17 @@ add_header_macro(
343
343
../libc/include/stdlib.yaml
344
344
stdlib.h
345
345
DEPENDS
346
- .llvm_libc_common_h
347
346
.llvm-libc-macros.stdlib_macros
347
+ .llvm-libc-types.__atexithandler_t
348
+ .llvm-libc-types.__qsortcompare_t
349
+ .llvm-libc-types.__qsortrcompare_t
350
+ .llvm-libc-types.__search_compare_t
348
351
.llvm-libc-types.div_t
349
352
.llvm-libc-types.ldiv_t
350
353
.llvm-libc-types.lldiv_t
351
- .llvm-libc-types.size_t
352
- .llvm-libc-types.__bsearchcompare_t
353
- .llvm-libc-types.__qsortcompare_t
354
- .llvm-libc-types.__qsortrcompare_t
355
- .llvm-libc-types.__atexithandler_t
356
354
.llvm-libc-types.locale_t
355
+ .llvm-libc-types.size_t
356
+ .llvm_libc_common_h
357
357
)
358
358
359
359
add_header_macro (
Original file line number Diff line number Diff line change @@ -2,8 +2,7 @@ add_header(off64_t HDR off64_t.h)
2
2
add_header (size_t HDR size_t.h )
3
3
add_header (ssize_t HDR ssize_t.h )
4
4
add_header (__atfork_callback_t HDR __atfork_callback_t.h )
5
- add_header (__bsearchcompare_t HDR __bsearchcompare_t.h )
6
- add_header (__lsearchcompare_t HDR __lsearchcompare_t.h )
5
+ add_header (__search_compare_t HDR __search_compare_t.h )
7
6
add_header (__call_once_func_t HDR __call_once_func_t.h )
8
7
add_header (__dl_iterate_phdr_callback_t HDR __dl_iterate_phdr_callback_t.h DEPENDS .size_t )
9
8
add_header (__exec_argv_t HDR __exec_argv_t.h )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- //===-- Definition of type __bsearchcompare_t -----------------------------===//
1
+ //===-- Definition of type __search_compare_t -----------------------------===//
2
2
//
3
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
4
// See https://llvm.org/LICENSE.txt for license information.
5
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
6
//
7
7
//===----------------------------------------------------------------------===//
8
8
9
- #ifndef LLVM_LIBC_TYPES___BSEARCHCOMPARE_T_H
10
- #define LLVM_LIBC_TYPES___BSEARCHCOMPARE_T_H
9
+ #ifndef LLVM_LIBC_TYPES___SEARCH_COMPARE_T_H
10
+ #define LLVM_LIBC_TYPES___SEARCH_COMPARE_T_H
11
11
12
- typedef int (* __bsearchcompare_t )(const void * , const void * );
12
+ typedef int (* __search_compare_t )(const void * , const void * );
13
13
14
- #endif // LLVM_LIBC_TYPES___BSEARCHCOMPARE_T_H
14
+ #endif // LLVM_LIBC_TYPES___SEARCH_COMPARE_T_H
Original file line number Diff line number Diff line change @@ -2,11 +2,11 @@ header: search.h
2
2
header_template : search.h.def
3
3
macros : []
4
4
types :
5
- - type_name : struct_hsearch_data
6
- - type_name : ENTRY
7
5
- type_name : ACTION
6
+ - type_name : ENTRY
8
7
- type_name : VISIT
9
- - type_name : __lsearchcompare_t
8
+ - type_name : __search_compare_t
9
+ - type_name : struct_hsearch_data
10
10
enums : []
11
11
objects : []
12
12
functions :
@@ -69,7 +69,7 @@ functions:
69
69
- type : const void *
70
70
- type : size_t *
71
71
- type : size_t
72
- - type : __lsearchcompare_t
72
+ - type : __search_compare_t
73
73
- name : lsearch
74
74
standards :
75
75
- POSIX
@@ -79,4 +79,4 @@ functions:
79
79
- type : void *
80
80
- type : size_t *
81
81
- type : size_t
82
- - type : __lsearchcompare_t
82
+ - type : __search_compare_t
Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ merge_yaml_files:
7
7
macros : []
8
8
types :
9
9
- type_name : __atexithandler_t
10
- - type_name : __qsortrcompare_t
11
10
- type_name : __qsortcompare_t
12
- - type_name : __bsearchcompare_t
11
+ - type_name : __qsortrcompare_t
12
+ - type_name : __search_compare_t
13
13
- type_name : div_t
14
14
- type_name : ldiv_t
15
15
- type_name : lldiv_t
@@ -87,7 +87,7 @@ functions:
87
87
- type : const void *
88
88
- type : size_t
89
89
- type : size_t
90
- - type : __bsearchcompare_t
90
+ - type : __search_compare_t
91
91
- name : div
92
92
standards :
93
93
- stdc
You can’t perform that action at this time.
0 commit comments