diff options
-rw-r--r-- | rts/linker/Elf.c | 2 | ||||
-rw-r--r-- | rts/posix/OSThreads.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/rts/linker/Elf.c b/rts/linker/Elf.c index b6473bb2a8..bbcd8b4208 100644 --- a/rts/linker/Elf.c +++ b/rts/linker/Elf.c @@ -2054,7 +2054,7 @@ struct piterate_cb_info { }; static int loadNativeObjCb_(struct dl_phdr_info *info, - size_t _size GNUC3_ATTRIBUTE(__unused__), void *data) { + size_t _size STG_UNUSED, void *data) { struct piterate_cb_info *s = (struct piterate_cb_info *) data; // This logic mimicks _dl_addr_inside_object from glibc diff --git a/rts/posix/OSThreads.c b/rts/posix/OSThreads.c index 2784afe863..44cda2626d 100644 --- a/rts/posix/OSThreads.c +++ b/rts/posix/OSThreads.c @@ -445,7 +445,7 @@ setThreadAffinity (uint32_t n, uint32_t m) #elif defined(darwin_HOST_OS) && defined(THREAD_AFFINITY_POLICY) // Schedules the current thread in the affinity set identified by tag n. void -setThreadAffinity (uint32_t n, uint32_t m GNUC3_ATTRIBUTE(__unused__)) +setThreadAffinity (uint32_t n, uint32_t m STG_UNUSED) { thread_affinity_policy_data_t policy; |