summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVMware, Inc <>2013-09-17 20:41:16 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-09-22 22:30:00 -0700
commitbf72ff33d02e9c1b0d6d2d3ab0a9b13c7a2747a9 (patch)
treeb4470bc41f06a72e299fbc075d2eb8bc11620df8
parent5eadb43a7d115dfb9e93875b0308d6f88c2c330f (diff)
Changes in shared code that don't affect open-vm-tools functionality.
Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
-rw-r--r--open-vm-tools/lib/include/mutexRankLib.h5
-rw-r--r--open-vm-tools/lib/include/vixCommands.h8
-rw-r--r--open-vm-tools/lib/include/vm_product.h2
-rw-r--r--open-vm-tools/lib/misc/codeset.c7
4 files changed, 4 insertions, 18 deletions
diff --git a/open-vm-tools/lib/include/mutexRankLib.h b/open-vm-tools/lib/include/mutexRankLib.h
index 29fbd38e..dd31dea9 100644
--- a/open-vm-tools/lib/include/mutexRankLib.h
+++ b/open-vm-tools/lib/include/mutexRankLib.h
@@ -70,11 +70,6 @@
#define RANK_hgfsNodeArrayLock (RANK_libLockBase + 0x4070)
/*
- * SLPv2 global lock
- */
-#define RANK_slpv2GlobalLock (RANK_libLockBase + 0x4305)
-
-/*
* vigor (must be < VMDB range and < disklib, see bug 741290)
*/
#define RANK_vigorOnlineLock (RANK_libLockBase + 0x4400)
diff --git a/open-vm-tools/lib/include/vixCommands.h b/open-vm-tools/lib/include/vixCommands.h
index 3192a945..0fd8ccd9 100644
--- a/open-vm-tools/lib/include/vixCommands.h
+++ b/open-vm-tools/lib/include/vixCommands.h
@@ -2129,14 +2129,6 @@ struct VixCommandGenericRequest {
#include "vmware_pack_end.h"
VixCommandGenericRequest;
-
-/*
- * These are values we use to discover hosts and guests through SLPv2.
- */
-#define VIX_SLPV2_SERVICE_NAME_TOOLS_SERVICE "VMware_Vix_Tools"
-#define VIX_SLPV2_PROPERTY_IP_ADDR "IP"
-#define VIX_SLPV2_PROPERTY_MAC_ADDR "Mac"
-
/*
* The security classifications for async op types/op code. Each op code
* is given a security category, and the VMX uses that category to determine
diff --git a/open-vm-tools/lib/include/vm_product.h b/open-vm-tools/lib/include/vm_product.h
index 3cb95196..d7243645 100644
--- a/open-vm-tools/lib/include/vm_product.h
+++ b/open-vm-tools/lib/include/vm_product.h
@@ -451,7 +451,7 @@
# if defined VMX86_DESKTOP
/*
* Fusion can be relocated, so it does not have a default library directory.
- * To retrieve the Fusion library directory, use Location_GetLibrary() instead.
+ * To retrieve the Fusion library directory, use Location_Get("libDir") instead.
*/
# define DEFAULT_LIBDIRECTORY \
"/dev/null/Non-existing DEFAULT_LIBDIRECTORY"
diff --git a/open-vm-tools/lib/misc/codeset.c b/open-vm-tools/lib/misc/codeset.c
index 7f1f6fbf..26170999 100644
--- a/open-vm-tools/lib/misc/codeset.c
+++ b/open-vm-tools/lib/misc/codeset.c
@@ -604,11 +604,10 @@ CodeSet_Init(const char *icuDataDir) // IN: ICU data file location in Current co
} else {
/* Use a default ICU data dir. */
# if defined __APPLE__
- Location_GetLibrary_Type *Location_GetLibrary =
- Location_GetLibrary_Addr();
+ Location_Get_Type *Location_Get = Location_Get_Addr();
- if (Location_GetLibrary) {
- char *libDir = Location_GetLibrary();
+ if (Location_Get) {
+ char *libDir = Location_Get("libDir");
Bool success = libDir
&& DynBuf_Append(&dbpath, libDir, strlen(libDir));