summaryrefslogtreecommitdiff
path: root/lib/mlibc/options/crypt/generic
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mlibc/options/crypt/generic')
-rw-r--r--lib/mlibc/options/crypt/generic/crypt-stubs.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/mlibc/options/crypt/generic/crypt-stubs.cpp b/lib/mlibc/options/crypt/generic/crypt-stubs.cpp
new file mode 100644
index 0000000..65e0d23
--- /dev/null
+++ b/lib/mlibc/options/crypt/generic/crypt-stubs.cpp
@@ -0,0 +1,7 @@
+#include <crypt.h>
+#include <bits/ensure.h>
+
+char *crypt(const char *, const char *) {
+ __ensure(!"Not implemented");
+ __builtin_unreachable();
+}