summaryrefslogtreecommitdiff
path: root/tests/exitfail.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/exitfail.h')
-rw-r--r--tests/exitfail.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/exitfail.h b/tests/exitfail.h
index 20ac506b..fa264b5c 100644
--- a/tests/exitfail.h
+++ b/tests/exitfail.h
@@ -15,4 +15,14 @@
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
extern int volatile exit_failure;
+
+
+#ifdef __cplusplus
+}
+#endif