Merge branch 'utmp-wctype-cleanup' into 'master'
utmp and wctype header cleanup See merge request redox-os/relibc!866
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
use crate::{
|
||||
header::{sys_ioctl, unistd},
|
||||
platform::types::*,
|
||||
platform::types::{c_int, c_void},
|
||||
};
|
||||
|
||||
/// See <https://www.man7.org/linux/man-pages/man3/openpty.3.html>.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Licensed under the MIT license
|
||||
// Copyright 2005-2020 Rich Felker, et al.
|
||||
|
||||
use crate::platform::types::*;
|
||||
use crate::platform::types::c_uchar;
|
||||
|
||||
pub fn is(wc: usize) -> c_uchar {
|
||||
if wc < 0x20000 {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Licensed under the MIT license
|
||||
// Copyright 2005-2020 Rich Felker, et al.
|
||||
|
||||
use crate::platform::types::*;
|
||||
use crate::platform::types::{c_int, c_uchar, c_uint, wint_t};
|
||||
|
||||
const tab: [c_uchar; 2666] = [
|
||||
7, 8, 9, 10, 11, 12, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 13, 6, 6, 14, 6, 6, 6, 6, 6, 6, 6, 6, 15,
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
// TODO: *_l functions
|
||||
|
||||
use self::casecmp::casemap;
|
||||
use crate::{c_str::CStr, header::ctype, platform::types::*};
|
||||
use crate::{
|
||||
c_str::CStr,
|
||||
header::ctype,
|
||||
platform::types::{c_char, c_int, wint_t},
|
||||
};
|
||||
|
||||
mod alpha;
|
||||
mod casecmp;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Licensed under the MIT license
|
||||
// Copyright 2005-2020 Rich Felker, et al.
|
||||
|
||||
use crate::platform::types::*;
|
||||
use crate::platform::types::c_uchar;
|
||||
|
||||
pub fn is(wc: usize) -> c_uchar {
|
||||
if wc < 0x20000 {
|
||||
|
||||
Reference in New Issue
Block a user