]> xenbits.xensource.com Git - qemu-xen-4.4-testing.git/commit
few compile time warnings removed
authorIan Jackson <ian.jackson@eu.citrix.com>
Wed, 17 Sep 2008 11:02:13 +0000 (12:02 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 17 Sep 2008 11:02:13 +0000 (12:02 +0100)
commit2fb70d0653af74318cfc20afa2aa323b15f9d532
tree135bb6200c7f556186caa4d7821d12d6319af91f
parent01595043c0c6c43f99352d58f293e590c405e3ee
few compile time warnings removed

Few small changes to remove some compile time warnings:

- we are not initializing the qemu_alarm_timer pointer in
init_timer_alarm, so I am adding a NULL initialization;

- in the headers include code, we are doing something like:

/* BSD stuff */
/* linux stuff */
/* sun stuff */

that works most of the times but it fails when you try to compile qemu
on mini-os, that is posix but it doesn't define either __sun__ or
__linux__, so I am changing it to:

/* BSD stuff */
/* linux stuff */
/* sun stuff */

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
vl.c