summaryrefslogtreecommitdiff
path: root/tests/include/alt-dummy/threading_alt.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/include/alt-dummy/threading_alt.h')
-rw-r--r--tests/include/alt-dummy/threading_alt.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/include/alt-dummy/threading_alt.h b/tests/include/alt-dummy/threading_alt.h
new file mode 100644
index 00000000000..07d5da4275f
--- /dev/null
+++ b/tests/include/alt-dummy/threading_alt.h
@@ -0,0 +1,14 @@
+/* threading_alt.h with dummy types for MBEDTLS_THREADING_ALT */
+/*
+ * Copyright The Mbed TLS Contributors
+ * SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
+ */
+
+#ifndef THREADING_ALT_H
+#define THREADING_ALT_H
+
+typedef struct mbedtls_threading_mutex_t {
+ int dummy;
+} mbedtls_threading_mutex_t;
+
+#endif /* threading_alt.h */