aboutsummaryrefslogblamecommitdiffstats
path: root/internal.h
blob: 190de0edc780d03eae282e7fac147a2d42015765 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                         
                       
                       

                        
                  
                  
                     
                   



                   

                     
 
                     
                                                           






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

#include <netinet/in.h>
#include <sys/socket.h>
#include <sys/utsname.h>
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <inttypes.h>
#include <signal.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

#include <liberror.h>


#if defined(__GNUC__)
# pragma GCC diagnostic ignored "-Wsuggest-attribute=const"
# 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 *, const char *, const char *, int, const char *);
HIDDEN int liberror_libc_check_kernel_version(long int, long int, long int);