diff options
Diffstat (limited to 'main/open-vm-tools-grsec/0001-Remove-unused-DEPRECATED-macro.patch')
-rwxr-xr-x | main/open-vm-tools-grsec/0001-Remove-unused-DEPRECATED-macro.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/main/open-vm-tools-grsec/0001-Remove-unused-DEPRECATED-macro.patch b/main/open-vm-tools-grsec/0001-Remove-unused-DEPRECATED-macro.patch new file mode 100755 index 0000000000..ff230a7ef6 --- /dev/null +++ b/main/open-vm-tools-grsec/0001-Remove-unused-DEPRECATED-macro.patch @@ -0,0 +1,33 @@ +From 0a49c04428ff99fdf29edf32e043e04fae492b6d Mon Sep 17 00:00:00 2001 +From: "Scott M. Kroll" <skroll@gmail.com> +Date: Mon, 14 Jul 2014 11:24:44 -0400 +Subject: [PATCH 1/5] Remove unused DEPRECATED macro + +--- + open-vm-tools/lib/include/vm_assert.h | 10 ---------- + 1 file changed, 10 deletions(-) + +diff --git a/open-vm-tools/lib/include/vm_assert.h b/open-vm-tools/lib/include/vm_assert.h +index 5b02eed..48c9f1d 100644 +--- a/lib/include/vm_assert.h ++++ b/lib/include/vm_assert.h +@@ -282,16 +282,6 @@ void WarningThrottled(uint32 *count, const char *fmt, ...) + + #define LOG_ONCE(_s) DO_ONCE(Log _s) + +-#ifdef VMX86_DEVEL +- #define DEPRECATED(_fix) DO_ONCE( \ +- Warning("%s:%d: %s is DEPRECATED; %s\n", \ +- __FILE__, __LINE__, __FUNCTION__, \ +- _fix)) +-#else +- #define DEPRECATED(_fix) do {} while (0) +-#endif +- +- + /* + * Redefine macros that are only in debug versions + */ +-- +2.0.1 + |