Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
redox-os
relibc
Commits
0f5fa8c9
Commit
0f5fa8c9
authored
Oct 09, 2018
by
Nagy Tibor
Browse files
Move regoff_t to regex.h
parent
3f4fbf90
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/sys/types.h
View file @
0f5fa8c9
...
...
@@ -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
;
...
...
src/header/regex/mod.rs
View file @
0f5fa8c9
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment