mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-26 22:38:30 +00:00
Reduce Makefile dependencies by 4%
This commit is contained in:
parent
e8632cfc30
commit
99e67c348b
339 changed files with 756 additions and 499 deletions
|
@ -17,15 +17,15 @@
|
|||
│ PERFORMANCE OF THIS SOFTWARE. │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/assert.h"
|
||||
#include "libc/calls/internal.h"
|
||||
#include "libc/dce.h"
|
||||
#include "libc/nt/winsock.h"
|
||||
#include "libc/sock/internal.h"
|
||||
#include "libc/sock/syscall_fd.internal.h"
|
||||
#include "libc/sock/yoink.inc"
|
||||
#include "libc/sysv/errfuns.h"
|
||||
|
||||
textwindows int sys_getsockname_nt(struct Fd *fd, void *out_addr,
|
||||
uint32_t *out_addrsize) {
|
||||
uint32_t *out_addrsize) {
|
||||
assert(fd->kind == kFdSocket);
|
||||
if (__sys_getsockname_nt(fd->handle, out_addr, out_addrsize) != -1) {
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue