Skip to content

Commit

Permalink
[PAL] Remove unused __attribute_* macros
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitrii Kuvaiskii <[email protected]>
  • Loading branch information
Dmitrii Kuvaiskii committed May 16, 2023
1 parent 4946a0b commit ede508c
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions pal/include/pal_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit ede508c

Please sign in to comment.