Skip to content

Commit f0b9309

Browse files
authored
[libc] Added const modifier to SigSetPtrType (#96252)
Function header files for epoll_pwait and epoll_pwait2 have const modifier on SigSetPtrType in function signature, but the linux.td file does not reflect that. .td file located in libc/spec/linux.td epoll functions located in libc/src/sys/epoll
1 parent e9af6ee commit f0b9309

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libc/spec/linux.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def Linux : StandardSpec<"Linux"> {
205205
ArgSpec<StructEpollEventPtr>,
206206
ArgSpec<IntType>,
207207
ArgSpec<IntType>,
208-
ArgSpec<SigSetPtrType>
208+
ArgSpec<ConstSigSetPtrType>
209209
]
210210
>,
211211
FunctionSpec<
@@ -216,7 +216,7 @@ def Linux : StandardSpec<"Linux"> {
216216
ArgSpec<StructEpollEventPtr>,
217217
ArgSpec<IntType>,
218218
ArgSpec<ConstStructTimeSpecPtr>,
219-
ArgSpec<SigSetPtrType>
219+
ArgSpec<ConstSigSetPtrType>
220220
]
221221
>,
222222
] // Functions

0 commit comments

Comments
 (0)