mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 06:48:31 +00:00
Change accept type to struct sockaddr * (#630)
This commit is contained in:
parent
8c2bf341e9
commit
87708c5d6e
7 changed files with 12 additions and 10 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue