diff options
author | Mattias Andrée <maandree@kth.se> | 2021-12-10 21:28:49 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-12-10 21:28:49 +0100 |
commit | ee22267ae381eb3274aff3a6c6d1b0ab6efe53d2 (patch) | |
tree | fd2cd355db5022a2df4b47d56e6326736bf88046 /liberror-libc.h | |
parent | Add liberror_setenv_failed (diff) | |
download | liberror-libc-ee22267ae381eb3274aff3a6c6d1b0ab6efe53d2.tar.gz liberror-libc-ee22267ae381eb3274aff3a6c6d1b0ab6efe53d2.tar.bz2 liberror-libc-ee22267ae381eb3274aff3a6c6d1b0ab6efe53d2.tar.xz |
Fix warnings
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'liberror-libc.h')
-rw-r--r-- | liberror-libc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/liberror-libc.h b/liberror-libc.h index 14ca4a0..7b99d93 100644 --- a/liberror-libc.h +++ b/liberror-libc.h @@ -15,6 +15,7 @@ #define _LIBERROR_WUR _LIBERROR_GCC_ONLY(__attribute__((__warn_unused_result__))) #define _LIBERROR_MALLOC _LIBERROR_GCC_ONLY(__attribute__((__malloc__))) +#define _LIBERROR_CONST _LIBERROR_GCC_ONLY(__attribute__((__const__))) #define LIBERROR_LIBC_ERRROR_SHORT_READ -1 |