aboutsummaryrefslogtreecommitdiffstats
path: root/liberror-libc.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-12-10 21:28:49 +0100
committerMattias Andrée <maandree@kth.se>2021-12-10 21:28:49 +0100
commitee22267ae381eb3274aff3a6c6d1b0ab6efe53d2 (patch)
treefd2cd355db5022a2df4b47d56e6326736bf88046 /liberror-libc.h
parentAdd liberror_setenv_failed (diff)
downloadliberror-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 '')
-rw-r--r--liberror-libc.h1
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