Reduce Makefile dependencies by 4%

This commit is contained in:
Justine Tunney 2022-05-23 15:06:11 -07:00
parent e8632cfc30
commit 99e67c348b
339 changed files with 756 additions and 499 deletions

View file

@ -17,13 +17,14 @@
PERFORMANCE OF THIS SOFTWARE.
*/
#include "libc/assert.h"
#include "libc/calls/internal.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_bind_nt(struct Fd *fd, const void *addr, uint32_t addrsize) {
textwindows int sys_bind_nt(struct Fd *fd, const void *addr,
uint32_t addrsize) {
assert(fd->kind == kFdSocket);
if (__sys_bind_nt(fd->handle, addr, addrsize) != -1) {
return 0;