diff options
Diffstat (limited to 'libgcompat/dlvsym.c')
-rw-r--r-- | libgcompat/dlvsym.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/libgcompat/dlvsym.c b/libgcompat/dlvsym.c index 3d744ea..0aba245 100644 --- a/libgcompat/dlvsym.c +++ b/libgcompat/dlvsym.c @@ -1,13 +1,12 @@ -#include <dlfcn.h> // dlsym -#include <stdio.h> // fprintf -#include <stdlib.h> // getenv +#include <dlfcn.h> /* dlsym */ +#include <stdio.h> /* fprintf */ +#include <stdlib.h> /* getenv */ void *dlvsym(void *handle, char *symbol, char *version) { - if(getenv("GLIBC_FAKE_DEBUG")) - { + if (getenv("GLIBC_FAKE_DEBUG")) { fprintf(stderr, "symbol %s with version %s is being redirected", - symbol, version); + symbol, version); } return dlsym(handle, symbol); |