diff options
Diffstat (limited to 'src/win32/socket.h')
-rw-r--r-- | src/win32/socket.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/win32/socket.h b/src/win32/socket.h index 7c20a65ad..1125774a8 100644 --- a/src/win32/socket.h +++ b/src/win32/socket.h @@ -1,6 +1,6 @@ /* POSIX emulation layer for Windows. * - * (C) 2008-2024 Anope Team + * (C) 2008-2025 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. @@ -21,12 +21,8 @@ extern CoreExport int read(int fd, char *buf, size_t count); extern CoreExport int write(int fd, const char *buf, size_t count); extern CoreExport int windows_close(int fd); extern CoreExport int windows_accept(int fd, struct sockaddr *addr, int *addrlen); -extern CoreExport int windows_inet_pton(int af, const char *src, void *dst); -extern CoreExport const char *windows_inet_ntop(int af, const void *src, char *dst, size_t size); extern CoreExport int fcntl(int fd, int cmd, int arg); #ifndef WIN32_NO_OVERRIDE # define accept windows_accept -# define inet_pton windows_inet_pton -# define inet_ntop windows_inet_ntop #endif |