From f8f18ed779c871e3fab7150c8bebd28dfbd21650 Mon Sep 17 00:00:00 2001 From: Jeremy Soller <jeremy@system76.com> Date: Mon, 19 Jul 2021 09:17:11 -0600 Subject: [PATCH] Remove old _wctype module --- src/header/_wctype/cbindgen.toml | 9 ---- src/header/_wctype/mod.rs | 78 -------------------------------- src/header/mod.rs | 1 - 3 files changed, 88 deletions(-) delete mode 100644 src/header/_wctype/cbindgen.toml delete mode 100644 src/header/_wctype/mod.rs diff --git a/src/header/_wctype/cbindgen.toml b/src/header/_wctype/cbindgen.toml deleted file mode 100644 index 9477e2aa..00000000 --- a/src/header/_wctype/cbindgen.toml +++ /dev/null @@ -1,9 +0,0 @@ -sys_includes = [] -include_guard = "_RELIBC_WCTYPE_H" -language = "C" -style = "Tag" -no_includes = true -cpp_compat = true - -[enum] -prefix_with_name = true diff --git a/src/header/_wctype/mod.rs b/src/header/_wctype/mod.rs deleted file mode 100644 index 7162c19b..00000000 --- a/src/header/_wctype/mod.rs +++ /dev/null @@ -1,78 +0,0 @@ -//! wctype implementation for Redox, following http://pubs.opengroup.org/onlinepubs/7908799/xsh/wctype.h.html - -use crate::platform::types::*; - -// #[no_mangle] -pub extern "C" fn iswalnum(wc: wint_t) -> c_int { - unimplemented!(); -} - -// #[no_mangle] -pub extern "C" fn iswalpha(wc: wint_t) -> c_int { - unimplemented!(); -} - -// #[no_mangle] -pub extern "C" fn iswcntrl(wc: wint_t) -> c_int { - unimplemented!(); -} - -// #[no_mangle] -pub extern "C" fn iswdigit(wc: wint_t) -> c_int { - unimplemented!(); -} - -// #[no_mangle] -pub extern "C" fn iswgraph(wc: wint_t) -> c_int { - unimplemented!(); -} - -// #[no_mangle] -pub extern "C" fn iswlower(wc: wint_t) -> c_int { - unimplemented!(); -} - -// #[no_mangle] -pub extern "C" fn iswprint(wc: wint_t) -> c_int { - unimplemented!(); -} - -// #[no_mangle] -pub extern "C" fn iswpunct(wc: wint_t) -> c_int { - unimplemented!(); -} - -// #[no_mangle] -pub extern "C" fn iswspace(wc: wint_t) -> c_int { - unimplemented!(); -} - -// #[no_mangle] -pub extern "C" fn iswupper(wc: wint_t) -> c_int { - unimplemented!(); -} - -// #[no_mangle] -pub extern "C" fn iswxdigit(wc: wint_t) -> c_int { - unimplemented!(); -} - -// #[no_mangle] -pub extern "C" fn iswctype(wc: wint_t, charclass: wctype_t) -> c_int { - unimplemented!(); -} - -// #[no_mangle] -pub extern "C" fn towlower(wc: wint_t) -> wint_t { - unimplemented!(); -} - -// #[no_mangle] -pub extern "C" fn towupper(wc: wint_t) -> wint_t { - unimplemented!(); -} - -// #[no_mangle] -pub extern "C" fn wctype(property: *const c_char) -> c_int { - unimplemented!(); -} diff --git a/src/header/mod.rs b/src/header/mod.rs index 4b788ce7..69621f4b 100644 --- a/src/header/mod.rs +++ b/src/header/mod.rs @@ -47,7 +47,6 @@ pub mod sys_statvfs; pub mod sys_time; pub mod sys_timeb; //pub mod sys_times; -pub mod _wctype; pub mod arch_aarch64_user; pub mod arch_x64_user; pub mod sys_procfs; -- GitLab