Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[libc] final edits to newheadergen yaml files #98983

Merged
merged 4 commits into from
Jul 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions libc/config/linux/x86_64/headers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ set(TARGET_PUBLIC_HEADERS
libc.include.sys_select
libc.include.sys_socket
libc.include.sys_stat
libc.include.sys_statvfs
libc.include.sys_syscall
libc.include.sys_time
libc.include.sys_types
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
header: arpa-inet.h
macros: []
types:
- type_name: uint32_t
- type_name: uint16_t
- type_name: inttypes.h
types: []
enums: []
objects: []
functions:
Expand Down
1 change: 0 additions & 1 deletion libc/newhdrgen/yaml/assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@ functions:
- type: const char *
- type: unsigned
- type: const char *
guard: __cplusplus
File renamed without changes.
6 changes: 6 additions & 0 deletions libc/newhdrgen/yaml/math.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ types:
enums: []
objects: []
functions:
- name: cbrt
standards:
- stdc
return_type: double
arguments:
- type: double
- name: cbrtf
standards:
- stdc
Expand Down
7 changes: 4 additions & 3 deletions libc/newhdrgen/yaml/pthread.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ types:
- type_name: pthread_key_t
- type_name: pthread_condattr_t
- type_name: __pthread_tss_dtor_t
- type_name: pthread_rwlock_t
- type_name: pthread_rwlockattr_t
- type_name: pthread_attr_t
- type_name: __pthread_start_t
- type_name: __pthread_once_func_t
- type_name: __atfork_callback_t
- type_name: pthread_rwlock_t
enums: []
functions:
- name: pthread_atfork
Expand Down Expand Up @@ -106,7 +106,7 @@ functions:
return_type: int
arguments:
- type: const pthread_condattr_t *__restrict
- type: clockid_t * __restrict
- type: clockid_t *__restrict
- name: pthread_condattr_getpshared
standards:
- POSIX
Expand Down Expand Up @@ -200,7 +200,8 @@ functions:
standards:
- POSIX
return_type: pthread_t
arguments: []
arguments:
- type: void
- name: pthread_setname_np
standards:
- GNUExtensions
Expand Down
1 change: 0 additions & 1 deletion libc/newhdrgen/yaml/search.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
header: search.h
macros: []
types:
- type_name: size_t
- type_name: struct_hsearch_data
- type_name: ENTRY
- type_name: ACTION
Expand Down
3 changes: 1 addition & 2 deletions libc/newhdrgen/yaml/sys/sys_time.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
header: sys-time.h
standards: Linux
macros: []
types:
- type_name: struct_timeval
michaelrj-google marked this conversation as resolved.
Show resolved Hide resolved
types: []
enums: []
functions: []
objects: []
1 change: 1 addition & 0 deletions libc/newhdrgen/yaml/wchar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ types:
- type_name: size_t
- type_name: wint_t
- type_name: wchar_t
- type_name: mbstate_t.h
enums: []
objects: []
functions:
Expand Down
Loading