summaryrefslogtreecommitdiffstats
path: root/include/acpi
diff options
context:
space:
mode:
authorLv Zheng <zetalog@gmail.com>2016-10-17 21:03:01 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-10-21 01:33:39 +0200
commitb97acdf1b0cd493a8abff703f0674b471bf105b1 (patch)
tree570a335585004be1885e9a678fcc150eaa694804 /include/acpi
parentACPICA: MacOSX: Fix anonymous semaphore implementation (diff)
downloadlinux-b97acdf1b0cd493a8abff703f0674b471bf105b1.tar.xz
linux-b97acdf1b0cd493a8abff703f0674b471bf105b1.zip
ACPICA: MacOSX: Fix wrong sem_destroy definition
ACPICA commit bbcb58f7875381d5c7f3d614bad3bc628a3f5cc6 The following build errors can be seen for MacOSX builds: .../osunixxf.c:882:9: error: 'sem_close' is deprecated [-Werror,-Wdeprecated-declarations] .../acmacosx.h:122:29: note: expanded from macro 'sem_destroy' #define sem_destroy sem_close sem_destroy() issue is caused by the wrong order of the following lines: #define #sem_destroy sem_close #include <semaphore.h> This patch fixes it by removing the buggy re-definitiion. Lv Zheng. Linux is not affected by this change. Link: https://github.com/acpica/acpica/commit/bbcb58f7 Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi')
0 files changed, 0 insertions, 0 deletions