From ee22267ae381eb3274aff3a6c6d1b0ab6efe53d2 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 10 Dec 2021 21:28:49 +0100 Subject: Fix warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- liberror-libc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'liberror-libc.h') 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 -- cgit v1.2.3-70-g09d2