From 658557736a803071a47bacb33e8471168e67e6be Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 12 Apr 2019 22:32:50 +0200 Subject: shutdown: add name parameter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- internal.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'internal.h') diff --git a/internal.h b/internal.h index e9b1ac3..80bf317 100644 --- a/internal.h +++ b/internal.h @@ -1,5 +1,6 @@ /* See LICENSE file for copyright and license details. */ #include "liberror-libc.h" +#include "liberror.h" #include #include @@ -9,5 +10,13 @@ #include -void liberror_set_error(const char[256], const char[64], const char[64], long long int); -void liberror_set_error_errno(const char[256], const char[64], int); +#if defined(__GNUC__) +# define GCC_ATTRIBUTES(...) __attribute__((__VA_ARGS__)) +#else +# define GCC_ATTRIBUTES(...) +#endif + +#define HIDDEN GCC_ATTRIBUTES(__visibility__("hidden")) + + +HIDDEN void liberror_libc_set_error_one_file(const char[256], const char[64], const char *, int, const char *); -- cgit v1.2.3-70-g09d2