Browse Source

need to use own constants now

master
Felix von Leitner 6 months ago
parent
commit
53db030fd0
  1. 2
      socket/socket_accept4_makenonblocking.c
  2. 2
      socket/socket_accept4_makenonblocking_setcloseonexec.c
  3. 2
      socket/socket_accept4_setcloseonexec.c
  4. 2
      socket/socket_accept6_makenonblocking.c
  5. 2
      socket/socket_accept6_makenonblocking_setcloseonexec.c
  6. 2
      socket/socket_accept6_setcloseonexec.c

2
socket/socket_accept4_makenonblocking.c

@ -8,5 +8,5 @@
#include "socket.h"
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);
}

2
socket/socket_accept4_makenonblocking_setcloseonexec.c

@ -8,5 +8,5 @@
#include "socket.h"
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);
}

2
socket/socket_accept4_setcloseonexec.c

@ -8,5 +8,5 @@
#include "socket.h"
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);
}

2
socket/socket_accept6_makenonblocking.c

@ -8,5 +8,5 @@
#include "socket.h"
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);
}

2
socket/socket_accept6_makenonblocking_setcloseonexec.c

@ -8,5 +8,5 @@
#include "socket.h"
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);
}

2
socket/socket_accept6_setcloseonexec.c

@ -8,5 +8,5 @@
#include "socket.h"
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