X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=dlwrap.c;h=0c57f752bdf039ac2f3e15b22e62e595884f887e;hb=8468b2b9d524832211f8e20791a1459003a563ff;hp=4bdb12c392ae6587cccd144d1996f306e96652a7;hpb=44b4f7ecdfb8c538aa7616d2ea718f7465446388;p=fips diff --git a/dlwrap.c b/dlwrap.c index 4bdb12c..0c57f75 100644 --- a/dlwrap.c +++ b/dlwrap.c @@ -23,16 +23,10 @@ #define _GNU_SOURCE #include -#include -#include - -#include +#include "fips.h" #include "dlwrap.h" -#define STRNCMP_LITERAL(var, literal) \ - strncmp ((var), (literal), sizeof (literal) - 1) - void *libfips_handle; typedef void * (* fips_dlopen_t)(const char * filename, int flag); @@ -114,7 +108,6 @@ dlsym (void *handle, const char *name) return dlwrap_real_dlsym (handle, name); } -extern void *__dlsym (void *handle, const char *name); void * dlwrap_real_dlsym (void *handle, const char *name) {