From ede508c69217477c1cd6fdb3e7689da824ba4ea7 Mon Sep 17 00:00:00 2001 From: Dmitrii Kuvaiskii Date: Tue, 16 May 2023 06:01:33 -0700 Subject: [PATCH] [PAL] Remove unused `__attribute_*` macros Signed-off-by: Dmitrii Kuvaiskii --- pal/include/pal_internal.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pal/include/pal_internal.h b/pal/include/pal_internal.h index ad9d4e690c..6f444f07e7 100644 --- a/pal/include/pal_internal.h +++ b/pal/include/pal_internal.h @@ -285,15 +285,6 @@ void* malloc_copy(const void* mem, size_t size); void* calloc(size_t num, size_t size); void free(void* mem); -#ifdef __GNUC__ -#define __attribute_hidden __attribute__((visibility("hidden"))) -#define __attribute_always_inline __attribute__((always_inline)) -#define __attribute_unused __attribute__((unused)) -#define __attribute_noinline __attribute__((noinline)) -#else -#error Unsupported compiler -#endif - int _PalInitDebugStream(const char* path); int _PalDebugLog(const void* buf, size_t size);