On 18 March 2018 at 14:58, Jiri Svoboda <[email protected]> wrote: > Hi Jzr, > > there is a macro defined expanding to empty body in: > ./uspace/lib/posix/src/internal/common.h:#define _HIDE_LIBC_SYMBOL(symbol) > > we use it in one place in > uspace/lib/posix/src/dlfcn.c > > what is the purpose of this macro? >
Hi, this macro is searched for by a script in the makefile. Any symbol marked by this is "hidden" by renaming its libc definition from `symbol` to `__helenos_libc_symbol` on object file level. This is a simplification from the earlier `POSIX_DEF` macro, which did much more convoluted magic. The intention here is to remove it altogether once libc either supports the dlopen() flags, or includes the warning that is in its libposix version. -- jzr _______________________________________________ HelenOS-devel mailing list [email protected] http://lists.modry.cz/listinfo/helenos-devel
