| OLD | NEW |
| 1 #ifndef»_DLFCN_H | 1 #ifndef _DLFCN_H |
| 2 #define»_DLFCN_H | 2 #define _DLFCN_H |
| 3 | 3 |
| 4 #ifdef __cplusplus | 4 #ifdef __cplusplus |
| 5 extern "C" { | 5 extern "C" { |
| 6 #endif | 6 #endif |
| 7 | 7 |
| 8 #include <features.h> | 8 #include <features.h> |
| 9 | 9 |
| 10 #define RTLD_LAZY 1 | 10 #define RTLD_LAZY 1 |
| 11 #define RTLD_NOW 2 | 11 #define RTLD_NOW 2 |
| 12 #define RTLD_NOLOAD 4 | 12 #define RTLD_NOLOAD 4 |
| 13 #define RTLD_NODELETE 4096 | 13 #define RTLD_NODELETE 4096 |
| 14 #define RTLD_GLOBAL 256 | 14 #define RTLD_GLOBAL 256 |
| 15 #define RTLD_LOCAL 0 | 15 #define RTLD_LOCAL 0 |
| 16 | 16 |
| 17 #define RTLD_NEXT ((void *)-1) | 17 #define RTLD_NEXT ((void*)-1) |
| 18 #define RTLD_DEFAULT ((void *)0) | 18 #define RTLD_DEFAULT ((void*)0) |
| 19 | 19 |
| 20 #define RTLD_DI_LINKMAP 2 | 20 #define RTLD_DI_LINKMAP 2 |
| 21 | 21 |
| 22 int dlclose(void *); | 22 int dlclose(void*); |
| 23 char *dlerror(void); | 23 char* dlerror(void); |
| 24 void *dlopen(const char *, int); | 24 void* dlopen(const char*, int); |
| 25 void *dlsym(void *__restrict, const char *__restrict); | 25 void* dlsym(void* __restrict, const char* __restrict); |
| 26 | 26 |
| 27 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) | 27 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) |
| 28 typedef struct { | 28 typedef struct { |
| 29 » const char *dli_fname; | 29 const char* dli_fname; |
| 30 » void *dli_fbase; | 30 void* dli_fbase; |
| 31 » const char *dli_sname; | 31 const char* dli_sname; |
| 32 » void *dli_saddr; | 32 void* dli_saddr; |
| 33 } Dl_info; | 33 } Dl_info; |
| 34 int dladdr(const void *, Dl_info *); | 34 int dladdr(const void*, Dl_info*); |
| 35 int dlinfo(void *, int, void *); | 35 int dlinfo(void*, int, void*); |
| 36 #endif | 36 #endif |
| 37 | 37 |
| 38 #ifdef __cplusplus | 38 #ifdef __cplusplus |
| 39 } | 39 } |
| 40 #endif | 40 #endif |
| 41 | 41 |
| 42 #endif | 42 #endif |
| OLD | NEW |