diff options
author | Robert Swiecki <robert@swiecki.net> | 2017-12-11 03:48:23 +0100 |
---|---|---|
committer | Robert Swiecki <robert@swiecki.net> | 2017-12-11 03:48:23 +0100 |
commit | 8e29c31f4907769974dab558b3a16bc329e4bb42 (patch) | |
tree | a955a9634f812f85cd37019b3602ad73a7bdf3e2 | |
parent | 3b4ec3b2b050d435a3c7579047edd94d0cc76c23 (diff) | |
download | honggfuzz-8e29c31f4907769974dab558b3a16bc329e4bb42.tar.gz |
libhfuzz: __wrap_* functions don't need to be weak
-rw-r--r-- | libhfuzz/memorycmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhfuzz/memorycmp.c b/libhfuzz/memorycmp.c index ccd04312..b0cc6a45 100644 --- a/libhfuzz/memorycmp.c +++ b/libhfuzz/memorycmp.c @@ -143,7 +143,7 @@ static inline void* _memmem( /* Define a weak function x, as well as __wrap_x pointing to x */ #define XVAL(x) x #define HF_WEAK_WRAP(ret, func, ...) \ - __attribute__((weak, alias(#func))) XVAL(ret) XVAL(__wrap_##func) (__VA_ARGS__); \ + __attribute__((alias(#func))) XVAL(ret) XVAL(__wrap_##func) (__VA_ARGS__); \ __attribute__((weak)) XVAL(ret) XVAL(func) (__VA_ARGS__) /* Typical libc wrappers */ |