aboutsummaryrefslogtreecommitdiff
path: root/lib/mlibc/options/crypt
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mlibc/options/crypt')
-rw-r--r--lib/mlibc/options/crypt/generic/crypt-stubs.cpp7
-rw-r--r--lib/mlibc/options/crypt/include/crypt.h18
-rw-r--r--lib/mlibc/options/crypt/meson.build13
3 files changed, 0 insertions, 38 deletions
diff --git a/lib/mlibc/options/crypt/generic/crypt-stubs.cpp b/lib/mlibc/options/crypt/generic/crypt-stubs.cpp
deleted file mode 100644
index 65e0d23..0000000
--- a/lib/mlibc/options/crypt/generic/crypt-stubs.cpp
+++ /dev/null
@@ -1,7 +0,0 @@
-#include <crypt.h>
-#include <bits/ensure.h>
-
-char *crypt(const char *, const char *) {
- __ensure(!"Not implemented");
- __builtin_unreachable();
-}
diff --git a/lib/mlibc/options/crypt/include/crypt.h b/lib/mlibc/options/crypt/include/crypt.h
deleted file mode 100644
index bf3a512..0000000
--- a/lib/mlibc/options/crypt/include/crypt.h
+++ /dev/null
@@ -1,18 +0,0 @@
-#ifndef _CRYPT_H
-#define _CRYPT_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#ifndef __MLIBC_ABI_ONLY
-
-char *crypt(const char *, const char *);
-
-#endif /* !__MLIBC_ABI_ONLY */
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif // _CRYPT_H
diff --git a/lib/mlibc/options/crypt/meson.build b/lib/mlibc/options/crypt/meson.build
deleted file mode 100644
index a476f34..0000000
--- a/lib/mlibc/options/crypt/meson.build
+++ /dev/null
@@ -1,13 +0,0 @@
-if disable_crypt_option
- subdir_done()
-endif
-
-libc_sources += files(
- 'generic/crypt-stubs.cpp',
-)
-
-if not no_headers
- install_headers(
- 'include/crypt.h',
- )
-endif