summary refs log tree commit diff stats
path: root/os-win32.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2022-03-23 19:57:37 +0400
committerPaolo Bonzini <pbonzini@redhat.com>2022-04-06 14:31:43 +0200
commit327adeecdde6f2b12ba32d0b886a720e40900b31 (patch)
tree104987acb623b51dc2789e226fbcd98b13d36560 /os-win32.c
parent89fc45d5c64235cb3262a431b3b9168ccdbaef7b (diff)
downloadfocaccia-qemu-327adeecdde6f2b12ba32d0b886a720e40900b31.tar.gz
focaccia-qemu-327adeecdde6f2b12ba32d0b886a720e40900b31.zip
include: move os_*() to os-foo.h
For consistency with other os_ functions that do not have POSIX
implementation, declare an inline function for the stub in os-win32.h.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220323155743.1585078-27-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'os-win32.c')
-rw-r--r--os-win32.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/os-win32.c b/os-win32.c
index e31c921983..6f21b57841 100644
--- a/os-win32.c
+++ b/os-win32.c
@@ -61,12 +61,3 @@ void os_set_line_buffering(void)
     setbuf(stdout, NULL);
     setbuf(stderr, NULL);
 }
-
-/*
- * Parse OS specific command line options.
- * return 0 if option handled, -1 otherwise
- */
-int os_parse_cmd_args(int index, const char *optarg)
-{
-    return -1;
-}