Merge branch 'regoff_t' into 'master'

Move regoff_t to regex.h

See merge request redox-os/relibc!168
This commit is contained in:
jD91mZM2
2018-10-09 14:49:53 +00:00
2 changed files with 2 additions and 1 deletions
-1
View File
@@ -20,7 +20,6 @@ typedef long clock_t;
typedef int clockid_t;
typedef void* timer_t;
typedef unsigned long int blkcnt_t;
typedef size_t regoff_t;
typedef unsigned char u_char, uchar;
typedef unsigned short u_short, ushort;
+2
View File
@@ -9,6 +9,8 @@ use platform::types::*;
use posix_regex::{PosixRegexBuilder, PosixRegex};
use posix_regex::compile::{Error as CompileError, Token, Range};
pub type regoff_t = size_t;
#[repr(C)]
pub struct regex_t {
// Can't be a normal Vec<T> because then the struct size won't be known