diff options
| author | Greg Steuck <greg@nest.cx> | 2022-09-04 09:11:23 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2022-09-05 10:51:00 +0200 |
| commit | 922294abb4c0bc72b24d8526d625110d73fa1b5a (patch) | |
| tree | a723c3df5be67c6d3dbc3eb1fe6fe13aa162117f /executor/common_linux.h | |
| parent | 4b7a93a60c7dd4f6ef7dd11c83ba528bd751cb5f (diff) | |
pkg/csource: inline void* cast into generated code
The previous indirection via conditional macros in platform specific
places was needless obfuscation.
Diffstat (limited to 'executor/common_linux.h')
| -rw-r--r-- | executor/common_linux.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/executor/common_linux.h b/executor/common_linux.h index 21bde3bb6..0cc94555f 100644 --- a/executor/common_linux.h +++ b/executor/common_linux.h @@ -4857,9 +4857,6 @@ static void setup_802154() #if GOARCH_s390x #include <sys/mman.h> -// Ugly way to work around gcc's "error: function called through a non-compatible type". -// The macro is used in generated C code. -#define CAST(f) ({void* p = (void*)f; p; }) #endif #if SYZ_EXECUTOR || __NR_syz_fuse_handle_req |
