need to use own constants now

master
leitner 4 years ago
parent bb0a9278c3
commit 5e47b80d5a

@ -8,5 +8,5 @@
#include "socket.h" #include "socket.h"
int socket_accept4_makenonblocking(int s,char *ip,uint16 *port) { int socket_accept4_makenonblocking(int s,char *ip,uint16 *port) {
return socket_accept4_flags(s,ip,port,SOCK_NONBLOCK); return socket_accept4_flags(s,ip,port,SOCKET_NONBLOCK);
} }

@ -8,5 +8,5 @@
#include "socket.h" #include "socket.h"
int socket_accept4_makenonblocking(int s,char *ip,uint16 *port) { int socket_accept4_makenonblocking(int s,char *ip,uint16 *port) {
return socket_accept4_flags(s,ip,port,SOCK_NONBLOCK | SOCK_CLOEXEC); return socket_accept4_flags(s,ip,port,SOCKET_NONBLOCK | SOCKET_CLOEXEC);
} }

@ -8,5 +8,5 @@
#include "socket.h" #include "socket.h"
int socket_accept4_makenonblocking(int s,char *ip,uint16 *port) { int socket_accept4_makenonblocking(int s,char *ip,uint16 *port) {
return socket_accept4_flags(s,ip,port,SOCK_CLOEXEC); return socket_accept4_flags(s,ip,port,SOCKET_CLOEXEC);
} }

@ -8,5 +8,5 @@
#include "socket.h" #include "socket.h"
int socket_accept6_makenonblocking(int s,char *ip,uint16 *port,uint32* scope_id) { int socket_accept6_makenonblocking(int s,char *ip,uint16 *port,uint32* scope_id) {
return socket_accept6_flags(s,ip,port,scope_id,SOCK_NONBLOCK); return socket_accept6_flags(s,ip,port,scope_id,SOCKET_NONBLOCK);
} }

@ -8,5 +8,5 @@
#include "socket.h" #include "socket.h"
int socket_accept6_makenonblocking(int s,char *ip,uint16 *port,uint32* scope_id) { int socket_accept6_makenonblocking(int s,char *ip,uint16 *port,uint32* scope_id) {
return socket_accept6_flags(s,ip,port,scope_id,SOCK_NONBLOCK | SOCK_CLOEXEC); return socket_accept6_flags(s,ip,port,scope_id,SOCKET_NONBLOCK | SOCKET_CLOEXEC);
} }

@ -8,5 +8,5 @@
#include "socket.h" #include "socket.h"
int socket_accept6_makenonblocking(int s,char *ip,uint16 *port,uint32* scope_id) { int socket_accept6_makenonblocking(int s,char *ip,uint16 *port,uint32* scope_id) {
return socket_accept6_flags(s,ip,port,scope_id,SOCK_CLOEXEC); return socket_accept6_flags(s,ip,port,scope_id,SOCKET_CLOEXEC);
} }

Loading…
Cancel
Save