1
0
Fork 0
mirror of https://github.com/tailix/libkernaux.git synced 2025-10-30 23:47:50 -04:00

Maintenance (#125)

This commit is contained in:
Alex Kotov 2022-12-03 14:23:52 +04:00 committed by GitHub
parent 8025bd1f60
commit e93d08ee70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
49 changed files with 161 additions and 176 deletions

View file

@ -12,9 +12,14 @@ extern "C" {
* Language features *
*********************/
#define KERNAUX_UNUSED __attribute__((unused))
#define KERNAUX_NORETURN __attribute__((noreturn))
#define KERNAUX_RETURNS_TWICE __attribute__((returns_twice))
#define KERNAUX_UNUSED __attribute__((unused))
#define KERNAUX_USED __attribute__((used))
#define KERNAUX_ALIGNED(num) __attribute__((aligned(num)))
#define KERNAUX_PRINTF(fmt, rest) __attribute__((format(printf, fmt, rest)))
#define KERNAUX_SECTION(name) __attribute__((section(name)))
#ifdef __TINYC__
# define KERNAUX_PACKED