use a more-correct integer type, and silence 64-bit warnings as a bonus
[musl] / include / dlfcn.h
1 #ifndef _DLFCN_H
2 #define _DLFCN_H
3
4 #define RTLD_LAZY   0x10000
5 #define RTLD_NOW    0x20000
6 #define RTLD_GLOBAL 0x40000
7 #define RTLD_LOCAL  0x80000
8
9 #if 1
10 #define RTLD_NEXT    ((void *) -1l)
11 #define RTLD_DEFAULT ((void *) 0)
12 #endif
13
14 int    dlclose(void *);
15 char  *dlerror(void);
16 void  *dlopen(const char *, int);
17 void  *dlsym(void *, const char *);
18
19 #endif