diff options
author | midipix <writeonce@midipix.org> | 2017-10-28 14:39:25 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2017-10-28 18:12:39 -0400 |
commit | b82ad85e94da3965ea351224efa56f79158737b0 (patch) | |
tree | 51cbe4c198fcd1495ffcd53d181d11d9c07435e4 /src/ldso | |
parent | eea0a81bc57597d58ef72d01ea0f9ccdd236158f (diff) | |
download | mmglue-b82ad85e94da3965ea351224efa56f79158737b0.tar.bz2 mmglue-b82ad85e94da3965ea351224efa56f79158737b0.tar.xz |
ldso: implemented dlsym().
Diffstat (limited to 'src/ldso')
-rw-r--r-- | src/ldso/nt32/dynlink.c | 4 | ||||
-rw-r--r-- | src/ldso/nt64/dynlink.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/ldso/nt32/dynlink.c b/src/ldso/nt32/dynlink.c index 4115178..28f3334 100644 --- a/src/ldso/nt32/dynlink.c +++ b/src/ldso/nt32/dynlink.c @@ -114,9 +114,9 @@ int __dlinfo(void * dso, int req, void * res) return __ldso_vtbl->dlinfo(dso,req,res); } -void *__dlsym(void * restrict p, const char * restrict s, void * restrict ra) +void *__dlsym(void * restrict p, const char * restrict s) { - return __ldso_vtbl->dlsym(p,s,ra); + return __ldso_vtbl->dlsym(p,s,0); } int dlclose(void *p) diff --git a/src/ldso/nt64/dynlink.c b/src/ldso/nt64/dynlink.c index 4115178..28f3334 100644 --- a/src/ldso/nt64/dynlink.c +++ b/src/ldso/nt64/dynlink.c @@ -114,9 +114,9 @@ int __dlinfo(void * dso, int req, void * res) return __ldso_vtbl->dlinfo(dso,req,res); } -void *__dlsym(void * restrict p, const char * restrict s, void * restrict ra) +void *__dlsym(void * restrict p, const char * restrict s) { - return __ldso_vtbl->dlsym(p,s,ra); + return __ldso_vtbl->dlsym(p,s,0); } int dlclose(void *p) |