diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2024-05-15 06:11:47 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2024-05-15 06:11:47 (GMT) |
commit | f252166690f537cdf6853e45a6dc21ed058d0360 (patch) | |
tree | e9b6264f630034135d81e635844e8b2775345cde /src/core | |
parent | 7358dc2001d27d3c5a0c0fe39288b1a310a6d89e (diff) |
Define all function attributes in a centralized header.
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/logs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/logs.c b/src/core/logs.c index 453eaff..8319f4c 100644 --- a/src/core/logs.c +++ b/src/core/logs.c @@ -28,6 +28,7 @@ #include <string.h> +#include "../common/compiler.h" #include "../common/extstr.h" @@ -42,7 +43,7 @@ static LogMessageType _verbosity = LMT_COUNT; /* Affiche un message dans le terminal courant. */ -__attribute__((weak)) void do_log_message_alt(LogMessageType, const char *); +__weak void do_log_message_alt(LogMessageType, const char *); /* Affiche un message dans le terminal courant. */ static void do_log_message_nox(LogMessageType, const char *); |