Remove dollars from system call support symbols
This commit is contained in:
@@ -23,11 +23,11 @@
|
||||
#include "libc/sock/yoink.inc"
|
||||
#include "libc/sysv/errfuns.h"
|
||||
|
||||
textwindows int getsockopt$nt(struct Fd *fd, int level, int optname,
|
||||
textwindows int sys_getsockopt_nt(struct Fd *fd, int level, int optname,
|
||||
void *out_opt_optval, uint32_t *out_optlen) {
|
||||
/* TODO(jart): Use WSAIoctl? */
|
||||
assert(fd->kind == kFdSocket);
|
||||
if (__getsockopt$nt(fd->handle, level, optname, out_opt_optval, out_optlen) !=
|
||||
if (__sys_getsockopt_nt(fd->handle, level, optname, out_opt_optval, out_optlen) !=
|
||||
-1) {
|
||||
return 0;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user