Remove some warnings and fix windows build.
commit54042bcf24b6c7c1c99f7a022f3cd00ba338f708
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 27 Feb 2009 22:16:47 +0000 (27 22:16 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 27 Feb 2009 22:16:47 +0000 (27 22:16 +0000)
tree4280b532a0261f13058153ecf3be557e2b625f77
parent0858532ea93e0890bf13556f4ef3dc25d7636233
Remove some warnings and fix windows build.

Initialize some variables to make GCC happy and switch from using index to
strchr.  index is not available on Windows.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6653 c046a42c-6fe2-441c-8c8c-71466251a162
hw/acpi.c
vl.c