aboutsummaryrefslogtreecommitdiff
path: root/include/sysemu/os-posix.h
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2023-02-21 16:48:01 +0400
committerMarc-André Lureau <marcandre.lureau@redhat.com>2023-03-13 15:39:31 +0400
commit25657fc6c1b693096e2ceadaa53cd10c1e81c8d9 (patch)
tree02de623f13a1d265022ddbdbf7433eb33f929d23 /include/sysemu/os-posix.h
parentb7e5374637daffa49657be2c559a0566836a172f (diff)
downloadqemu-25657fc6c1b693096e2ceadaa53cd10c1e81c8d9.zip
qemu-25657fc6c1b693096e2ceadaa53cd10c1e81c8d9.tar.gz
qemu-25657fc6c1b693096e2ceadaa53cd10c1e81c8d9.tar.bz2
win32: replace closesocket() with close() wrapper
Use a close() wrapper instead, so that we don't need to worry about closesocket() vs close() anymore, let's hope. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Stefan Berger <stefanb@linux.ibm.com> Message-Id: <20230221124802.4103554-17-marcandre.lureau@redhat.com>
Diffstat (limited to 'include/sysemu/os-posix.h')
-rw-r--r--include/sysemu/os-posix.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/sysemu/os-posix.h b/include/sysemu/os-posix.h
index 378213f..1030d39 100644
--- a/include/sysemu/os-posix.h
+++ b/include/sysemu/os-posix.h
@@ -51,8 +51,6 @@ void os_daemonize(void);
void os_setup_post(void);
int os_mlock(void);
-#define closesocket(s) close(s)
-
int os_set_daemonize(bool d);
bool is_daemonized(void);