diff --git a/extobjc/EXTScope.m b/extobjc/EXTScope.m index 857d7aa6..01591c81 100644 --- a/extobjc/EXTScope.m +++ b/extobjc/EXTScope.m @@ -9,12 +9,6 @@ #import "EXTScope.h" -#if defined(__cplusplus) -extern "C" { -#endif - void ext_executeCleanupBlock (__strong ext_cleanupBlock_t *block) { - (*block)(); - } -#if defined(__cplusplus) +void ext_executeCleanupBlock (__strong ext_cleanupBlock_t *block) { + (*block)(); } -#endif \ No newline at end of file