aboutsummaryrefslogblamecommitdiffstats
path: root/internal.h
blob: 80bf317618966a67068294f3408e62d01723a354 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12

                                                         
                     








                       









                                                                                                               
/* See LICENSE file for copyright and license details. */
#include "liberror-libc.h"
#include "liberror.h"

#include <sys/socket.h>
#include <errno.h>
#include <inttypes.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>


#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 *);