From: VMware, Inc <> Date: Tue, 29 Mar 2011 20:26:23 +0000 (-0700) Subject: Changes in shared code that don't affect open-vm-tools functionality. X-Git-Tag: 2011.03.28-387002~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df560a543b2d3d891c9a9626cfd2ad2df78d4f60;p=thirdparty%2Fopen-vm-tools.git Changes in shared code that don't affect open-vm-tools functionality. Signed-off-by: Marcelo Vanzin --- diff --git a/open-vm-tools/modules/linux/shared/vmci_kernel_if.h b/open-vm-tools/modules/linux/shared/vmci_kernel_if.h index 5a389f316..a90543cef 100644 --- a/open-vm-tools/modules/linux/shared/vmci_kernel_if.h +++ b/open-vm-tools/modules/linux/shared/vmci_kernel_if.h @@ -402,18 +402,8 @@ Bool VMCI_CanCreate(void); # define VMCI_FreeQueueBuffer(_q, _s) # define VMCI_CanCreate() TRUE #endif // !_WIN32 -#if defined(_WIN32) || (defined(linux) && !defined(VMKERNEL)) - Bool VMCI_GuestPersonalityActive(void); - Bool VMCI_HostPersonalityActive(void); -#else -# if defined(VMX86_TOOLS) -# define VMCI_GuestPersonalityActive() TRUE -# define VMCI_HostPersonalityActive() FALSE -# else // VMX86_TOOLS -# define VMCI_GuestPersonalityActive() FALSE -# define VMCI_HostPersonalityActive() TRUE -# endif // !VMX86_TOOLS -#endif // !(_WIN32 || (linux && !VMKERNEL)) +Bool VMCI_GuestPersonalityActive(void); +Bool VMCI_HostPersonalityActive(void); #if defined(VMKERNEL)