summaryrefslogtreecommitdiffstats
path: root/include/sysemu/os-win32.h
diff options
context:
space:
mode:
authorMarc-André Lureau2019-12-11 15:23:28 +0100
committerThomas Huth2019-12-17 09:05:23 +0100
commite468ffdc6d3b1c7127b785eb73a1f5c94751fb01 (patch)
tree9db94e956b8932b6b1a89ca26ab63ade56559287 /include/sysemu/os-win32.h
parenthw/misc/ivshmem: Bury dead legacy INTx code (diff)
downloadqemu-e468ffdc6d3b1c7127b785eb73a1f5c94751fb01.tar.gz
qemu-e468ffdc6d3b1c7127b785eb73a1f5c94751fb01.tar.xz
qemu-e468ffdc6d3b1c7127b785eb73a1f5c94751fb01.zip
glib: use portable g_setenv()
We have a setenv() wrapper in os-win32.c that no one is actually using. Drop it and change to g_setenv() uniformly. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <1576074210-52834-7-git-send-email-pbonzini@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'include/sysemu/os-win32.h')
-rw-r--r--include/sysemu/os-win32.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/sysemu/os-win32.h b/include/sysemu/os-win32.h
index ff18b23db1..d8978e28c0 100644
--- a/include/sysemu/os-win32.h
+++ b/include/sysemu/os-win32.h
@@ -67,8 +67,6 @@ int getpagesize(void);
# define EPROTONOSUPPORT EINVAL
#endif
-int setenv(const char *name, const char *value, int overwrite);
-
typedef struct {
long tv_sec;
long tv_usec;