diff --git a/Sources/CUtil/zeroize.h b/Sources/CUtil/zeroize.h index 2923b333..7701b07a 100644 --- a/Sources/CUtil/zeroize.h +++ b/Sources/CUtil/zeroize.h @@ -1,4 +1,4 @@ -// Copyright 2024 Apple Inc. and the Swift Homomorphic Encryption project authors +// Copyright 2024-2025 Apple Inc. and the Swift Homomorphic Encryption project authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,6 +17,12 @@ #include +#ifdef __cplusplus +extern "C" { +#endif void c_zeroize(void *s, size_t n); +#ifdef __cplusplus +} +#endif #endif /* ZEROIZE_H */