From 08a93c736bdac27c3b2f9b116ad5d4dd406f9683 Mon Sep 17 00:00:00 2001 From: TB Schardl Date: Tue, 24 Oct 2023 09:50:02 +0000 Subject: [PATCH] [cilksan] Remove spurious argument from aligned_alloc libhook. --- cilksan/libhooks.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/cilksan/libhooks.cpp b/cilksan/libhooks.cpp index 1026649..921c381 100644 --- a/cilksan/libhooks.cpp +++ b/cilksan/libhooks.cpp @@ -922,10 +922,11 @@ CILKSAN_API void __csan_acoshl(const csi_id_t call_id, const csi_id_t func_id, return; } -CILKSAN_API void -__csan_aligned_alloc(const csi_id_t call_id, const csi_id_t func_id, - unsigned MAAP_count, const call_prop_t prop, void *result, - size_t num, size_t alignment, size_t size) { +CILKSAN_API void __csan_aligned_alloc(const csi_id_t call_id, + const csi_id_t func_id, + unsigned MAAP_count, + const call_prop_t prop, void *result, + size_t alignment, size_t size) { START_HOOK(call_id); if (MAAP_count > 0) {