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_fuchsia.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_fuchsia.h')
| -rw-r--r-- | executor/common_fuchsia.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/executor/common_fuchsia.h b/executor/common_fuchsia.h index cb29f715e..19bdd280c 100644 --- a/executor/common_fuchsia.h +++ b/executor/common_fuchsia.h @@ -272,7 +272,3 @@ static int do_sandbox_none(void) return 0; } #endif - -// 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; }) |
