Changeset 7f9df7b9 in mainline for uspace/lib/posix/src/dlfcn.c


Ignore:
Timestamp:
2018-01-22T22:42:57Z (7 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7a08c70
Parents:
e0f47f5
Message:

Remove unnecessary symbol renaming from libposix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/src/dlfcn.c

    re0f47f5 r7f9df7b9  
    3131 */
    3232
    33 #define LIBPOSIX_INTERNAL
    34 #define __POSIX_DEF__(x) posix_##x
    35 
    3633#include "internal/common.h"
    3734#include "posix/dlfcn.h"
    3835
    39 #include "libc/dlfcn.h"
     36_HIDE_LIBC_SYMBOL(dlopen)
     37extern void *__helenos_libc_dlopen(const char *filename, int flags);
    4038
    41 void *posix_dlopen(const char *filename, int flags)
     39void *dlopen(const char *filename, int flags)
    4240{
    4341        if (flags != 0) {
     
    4543        }
    4644       
    47         return dlopen(filename, 0);
     45        return __helenos_libc_dlopen(filename, 0);
    4846}
    4947
    50 void *posix_dlsym(void *handle, const char *symbol)
    51 {
    52         return dlsym(handle, symbol);
    53 }
    54 
    55 int posix_dlclose(void *handle)
     48int dlclose(void *handle)
    5649{
    5750        not_implemented();
     
    5952}
    6053
    61 char *posix_dlerror(void)
     54char *dlerror(void)
    6255{
    6356        not_implemented();
Note: See TracChangeset for help on using the changeset viewer.