mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 06:48:48 +00:00
add std flag to clang
This commit is contained in:
parent
1aefb02da7
commit
43f5760a7e
2 changed files with 1 additions and 10 deletions
|
|
@ -476,10 +476,6 @@ extern void *Lsubstring (void *subj, aint p, aint l) {
|
|||
return NULL;
|
||||
}
|
||||
|
||||
extern const char *re_compile_pattern (const char *__pattern, size_t __length,
|
||||
struct re_pattern_buffer *__buffer)
|
||||
_Attr_access_ ((__read_only__, 1, 2));
|
||||
|
||||
extern struct re_pattern_buffer *Lregexp (char *regexp) {
|
||||
regex_t *b = (regex_t *)malloc(sizeof(regex_t));
|
||||
|
||||
|
|
@ -494,11 +490,6 @@ extern struct re_pattern_buffer *Lregexp (char *regexp) {
|
|||
return b;
|
||||
}
|
||||
|
||||
extern regoff_t re_match (struct re_pattern_buffer *__buffer,
|
||||
const char *__String, regoff_t __length,
|
||||
regoff_t __start, struct re_registers *__regs)
|
||||
_Attr_access_ ((__read_only__, 2, 3));
|
||||
|
||||
extern aint LregexpMatch (struct re_pattern_buffer *b, char *s, aint pos) {
|
||||
aint res;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue