diff options
author | Marc-André Lureau | 2019-12-11 15:23:28 +0100 |
---|---|---|
committer | Thomas Huth | 2019-12-17 09:05:23 +0100 |
commit | e468ffdc6d3b1c7127b785eb73a1f5c94751fb01 (patch) | |
tree | 9db94e956b8932b6b1a89ca26ab63ade56559287 /include/sysemu/os-win32.h | |
parent | hw/misc/ivshmem: Bury dead legacy INTx code (diff) | |
download | qemu-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.h | 2 |
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; |