From 04b4e75f33ae0775d70b8e33080f46d66275cdcc Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Thu, 10 May 2012 16:50:41 -0300 Subject: qemu-ga: make reopen_fd_to_null() public The next commit wants to use it. Signed-off-by: Luiz Capitulino Reviewed-by: Eric Blake Signed-off-by: Michael Roth --- qga/guest-agent-core.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'qga/guest-agent-core.h') diff --git a/qga/guest-agent-core.h b/qga/guest-agent-core.h index bbb8b9b..6dba104 100644 --- a/qga/guest-agent-core.h +++ b/qga/guest-agent-core.h @@ -35,3 +35,7 @@ void ga_set_response_delimited(GAState *s); bool ga_is_frozen(GAState *s); void ga_set_frozen(GAState *s); void ga_unset_frozen(GAState *s); + +#ifndef _WIN32 +void reopen_fd_to_null(int fd); +#endif -- cgit v1.1