diff --git a/c/qrcodegen.c b/c/qrcodegen.c index 59ba12a..32c631e 100644 --- a/c/qrcodegen.c +++ b/c/qrcodegen.c @@ -30,12 +30,7 @@ #ifndef QRCODEGEN_TEST #define testable static // Keep functions private #else - // Expose private functions - #ifndef __cplusplus - #define testable - #else // Because in C++, const variables are treated as implicitly 'static' - #define testable extern - #endif + #define testable // Expose private functions #endif