fix all missing instances of __cplusplus checks/extern "C" in headers
[musl] / include / alloca.h
index ac78e46..f61b817 100644 (file)
@@ -1,9 +1,17 @@
 #ifndef        _ALLOCA_H
 #define        _ALLOCA_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #define        __NEED_size_t
 #include <bits/alltypes.h>
 
 void *alloca(size_t);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif