[libc-commits] [libc] [libc] Fix unpoisoning for recvfrom (PR #117366)

via libc-commits libc-commits at lists.llvm.org
Fri Nov 22 11:44:30 PST 2024


================
@@ -23,17 +23,26 @@ namespace LIBC_NAMESPACE_DECL {
 
 LLVM_LIBC_FUNCTION(ssize_t, recvfrom,
                    (int sockfd, void *buf, size_t len, int flags,
-                    struct sockaddr *__restrict dest_addr,
----------------
lntue wrote:

These files are in C++, so I think it's better to also remove `struct` in the `recvfrom.h`.

https://github.com/llvm/llvm-project/pull/117366


More information about the libc-commits mailing list