From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carlo Marcelo Arenas Belon Subject: [PATCH 4/9] qemu: re-add missing definitions for qemu_{shutdown, powerdown, reset}_requested Date: Fri, 21 Dec 2007 06:37:10 -0600 Message-ID: <20071221123710.GE8306@tapir> References: <20071221122509.GA8306@tapir> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Return-path: Content-Disposition: inline In-Reply-To: <20071221122509.GA8306@tapir> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org The following patch re applies the definitions added to qemu/vl.h in 469b506a270347a88d11c65392ac1df7b476d176 and which were missed in merge f4b21ce8084fc3ffcfc1a2b92bd26466700d3d40, resulting in the following compilation warnings : qemu/qemu-kvm.c:343: warning: implicit declaration of function `qemu_shutdown_requested' qemu/qemu-kvm.c:345: warning: implicit declaration of function `qemu_powerdown_requested' qemu/qemu-kvm.c:347: warning: implicit declaration of function `qemu_reset_requested' Signed-off-by: Carlo Marcelo Arenas Belon --- qemu/sysemu.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/qemu/sysemu.h b/qemu/sysemu.h index f1994ba..b96ba79 100644 --- a/qemu/sysemu.h +++ b/qemu/sysemu.h @@ -30,6 +30,9 @@ void cpu_disable_ticks(void); void qemu_system_reset_request(void); void qemu_system_shutdown_request(void); void qemu_system_powerdown_request(void); +int qemu_shutdown_requested(void); +int qemu_reset_requested(void); +int qemu_powerdown_requested(void); #if !defined(TARGET_SPARC) // Please implement a power failure function to signal the OS #define qemu_system_powerdown() do{}while(0) -- 1.5.2.5 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/