summaryrefslogtreecommitdiff
path: root/qemu-os-win32.h
diff options
context:
space:
mode:
authorJes Sorensen <Jes.Sorensen@redhat.com>2010-06-10 11:42:31 +0200
committerBlue Swirl <blauwirbel@gmail.com>2010-06-12 08:49:15 +0300
commitce798cf2a261eaf4186f416f150b7361d395c3a5 (patch)
tree40e17997d934728e359f30c43ad52051af4f9ded /qemu-os-win32.h
parent9156d76331f2d51ce5b17cc945dd97788fc64c5a (diff)
downloadqemu-ce798cf2a261eaf4186f416f150b7361d395c3a5.tar.gz
qemu-ce798cf2a261eaf4186f416f150b7361d395c3a5.tar.bz2
qemu-ce798cf2a261eaf4186f416f150b7361d395c3a5.zip
Move set_proc_name() to OS specific files.
Move handling to change process name to POSIX specific files plus add a better error message to cover the case where the feature isn't supported. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Acked-by: Juan Quintela <quintela@redhat.com> Acked-by: Richard Henderson <rth@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'qemu-os-win32.h')
-rw-r--r--qemu-os-win32.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qemu-os-win32.h b/qemu-os-win32.h
index 5a97d8d10a..6323f7f1a6 100644
--- a/qemu-os-win32.h
+++ b/qemu-os-win32.h
@@ -47,5 +47,6 @@ static inline void os_daemonize(void) {}
static inline void os_setup_post(void) {}
/* Win32 doesn't support line-buffering and requires size >= 2 */
static inline void os_set_line_buffering(void) {}
+static inline void os_set_proc_name(const char *dummy) {}
#endif