diff options
author | blueswir1 | 2009-03-07 16:32:56 +0100 |
---|---|---|
committer | blueswir1 | 2009-03-07 16:32:56 +0100 |
commit | 511d2b140f3ff2f80d14637cdc2f29743a2daa51 (patch) | |
tree | 6cf21d1c95846f1c86879c60dffbe6a3eaa8aa6d /hw/vmware_vga.c | |
parent | The _exit syscall is used for both thread termination in NPTL applications, (diff) | |
download | qemu-511d2b140f3ff2f80d14637cdc2f29743a2daa51.tar.gz qemu-511d2b140f3ff2f80d14637cdc2f29743a2daa51.tar.xz qemu-511d2b140f3ff2f80d14637cdc2f29743a2daa51.zip |
Sparse fixes: NULL use, header order, ANSI prototypes, static
Fix Sparse warnings:
* use NULL instead of plain 0
* rearrange header include order to avoid redefining types accidentally
* ANSIfy SLIRP
* avoid "restrict" keyword
* add static
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6736 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/vmware_vga.c')
-rw-r--r-- | hw/vmware_vga.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/hw/vmware_vga.c b/hw/vmware_vga.c index d1cba28a3f..5c271e656d 100644 --- a/hw/vmware_vga.c +++ b/hw/vmware_vga.c @@ -230,7 +230,6 @@ enum { #ifdef VERBOSE # define GUEST_OS_BASE 0x5001 static const char *vmsvga_guest_id[] = { - [0x00 ... 0x15] = "an unknown OS", [0x00] = "Dos", [0x01] = "Windows 3.1", [0x02] = "Windows 95", @@ -240,8 +239,18 @@ static const char *vmsvga_guest_id[] = { [0x06] = "Windows 2000", [0x07] = "Linux", [0x08] = "OS/2", + [0x09] = "an unknown OS", [0x0a] = "BSD", [0x0b] = "Whistler", + [0x0c] = "an unknown OS", + [0x0d] = "an unknown OS", + [0x0e] = "an unknown OS", + [0x0f] = "an unknown OS", + [0x10] = "an unknown OS", + [0x11] = "an unknown OS", + [0x12] = "an unknown OS", + [0x13] = "an unknown OS", + [0x14] = "an unknown OS", [0x15] = "Windows 2003", }; #endif |