diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sysemu/os-posix.h | 2 | ||||
-rw-r--r-- | include/sysemu/os-win32.h | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/include/sysemu/os-posix.h b/include/sysemu/os-posix.h index 53fac98a9e..07e3e5ae9b 100644 --- a/include/sysemu/os-posix.h +++ b/include/sysemu/os-posix.h @@ -40,8 +40,6 @@ void os_daemonize(void); void os_setup_post(void); int os_mlock(void); -#define socket_error() errno - #define closesocket(s) close(s) #define ioctlsocket(s, r, v) ioctl(s, r, v) diff --git a/include/sysemu/os-win32.h b/include/sysemu/os-win32.h index 69050665a4..17aad3b20f 100644 --- a/include/sysemu/os-win32.h +++ b/include/sysemu/os-win32.h @@ -55,8 +55,6 @@ struct tm *gmtime_r(const time_t *timep, struct tm *result); struct tm *localtime_r(const time_t *timep, struct tm *result); #endif /* CONFIG_LOCALTIME_R */ -int socket_error(void); - static inline void os_setup_signal_handling(void) {} static inline void os_daemonize(void) {} static inline void os_setup_post(void) {} |