Skip to content

Commit 4eb09f0

Browse files
committed
fix type spec
1 parent 380d36e commit 4eb09f0

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

libc/newhdrgen/yaml/sys/mman.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@ functions:
6464
- type: size_t
6565
- type: size_t
6666
- type: int
67-
- type: void *
68-
description: "This argument is optional."
67+
- type: '...'
6968
- name: mprotect
7069
standards:
7170
- POSIX

libc/spec/linux.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def Linux : StandardSpec<"Linux"> {
122122
ArgSpec<SizeTType>,
123123
ArgSpec<SizeTType>,
124124
ArgSpec<IntType>,
125-
ArgSpec<VoidPtr>,
125+
ArgSpec<VarArgType>,
126126
]
127127
>,
128128
] // Functions

0 commit comments

Comments
 (0)