diff options
author | RoseZhang03 <rosezhang@google.com> | 2024-06-21 17:42:56 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-21 17:42:56 +0000 |
commit | f0b93096690ebc98017c05b58202fa5a3a84d7ea (patch) | |
tree | a53b32aa1767d01f95d45816a88c54700a9e081b | |
parent | e9af6eeb9118a708ce806ab29f2f72de937fba47 (diff) | |
download | llvm-f0b93096690ebc98017c05b58202fa5a3a84d7ea.zip llvm-f0b93096690ebc98017c05b58202fa5a3a84d7ea.tar.gz llvm-f0b93096690ebc98017c05b58202fa5a3a84d7ea.tar.bz2 |
[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
-rw-r--r-- | libc/spec/linux.td | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/spec/linux.td b/libc/spec/linux.td index f91f55d..82630ff 100644 --- a/libc/spec/linux.td +++ b/libc/spec/linux.td @@ -205,7 +205,7 @@ def Linux : StandardSpec<"Linux"> { ArgSpec<StructEpollEventPtr>, ArgSpec<IntType>, ArgSpec<IntType>, - ArgSpec<SigSetPtrType> + ArgSpec<ConstSigSetPtrType> ] >, FunctionSpec< @@ -216,7 +216,7 @@ def Linux : StandardSpec<"Linux"> { ArgSpec<StructEpollEventPtr>, ArgSpec<IntType>, ArgSpec<ConstStructTimeSpecPtr>, - ArgSpec<SigSetPtrType> + ArgSpec<ConstSigSetPtrType> ] >, ] // Functions |