Change accept type to struct sockaddr * (#630)

This commit is contained in:
Gavin Hayes 2022-09-20 10:49:16 -04:00 committed by GitHub
parent 8c2bf341e9
commit 87708c5d6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 12 additions and 10 deletions

View file

@ -28,6 +28,6 @@
* @asyncsignalsafe
* @restartable (unless SO_RCVTIMEO)
*/
int accept(int fd, void *out_addr, uint32_t *inout_addrsize) {
int accept(int fd, struct sockaddr *out_addr, uint32_t *inout_addrsize) {
return accept4(fd, out_addr, inout_addrsize, 0);
}