aboutsummaryrefslogtreecommitdiff
path: root/os-win32.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-08-18 11:57:56 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2020-09-30 19:11:36 +0200
commitea1edcd7da1a375ef7ccf8aa93b72827b518ad8e (patch)
treef7b56f954cbf62133ac38ae8e530e8634e1af002 /os-win32.c
parent63c4db4c2e6d221cecb5aafa365934bb05724cb4 (diff)
vl: relocate paths to data directories
As an additional advantage, the logic is now unified between POSIX and Win32 systems. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'os-win32.c')
-rw-r--r--os-win32.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/os-win32.c b/os-win32.c
index eb8501b9e5..fd1137bab1 100644
--- a/os-win32.c
+++ b/os-win32.c
@@ -57,17 +57,6 @@ void os_setup_early_signal_handling(void)
atexit(os_undo_timer_resolution);
}
-/*
- * Look for support files in the same directory as the executable.
- *
- * The caller must use g_free() to free the returned data when it is
- * no longer required.
- */
-char *os_find_datadir(void)
-{
- return g_strdup(qemu_get_exec_dir());
-}
-
void os_set_line_buffering(void)
{
setbuf(stdout, NULL);