summaryrefslogtreecommitdiffstats
path: root/libc/misc/regex/regexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/regex/regexec.c')
-rw-r--r--libc/misc/regex/regexec.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libc/misc/regex/regexec.c b/libc/misc/regex/regexec.c
index 2c8917e19..587e6af30 100644
--- a/libc/misc/regex/regexec.c
+++ b/libc/misc/regex/regexec.c
@@ -200,7 +200,7 @@ static int check_node_accept (const re_match_context_t *mctx,
internal_function;
static reg_errcode_t extend_buffers (re_match_context_t *mctx)
internal_function;
-
+
/* Entry point for POSIX code. */
/* regexec searches for a given pattern, specified by PREG, in the
@@ -595,7 +595,7 @@ re_set_registers (bufp, regs, num_regs, starts, ends)
#if defined _LIBC || defined __UCLIBC__
strong_alias(__re_set_registers, re_set_registers)
#endif
-
+
/* Entry points compatible with 4.2 BSD regex library. We don't define
them unless specifically requested. */
@@ -610,7 +610,7 @@ re_exec (s)
return 0 == regexec (&re_comp_buf, s, 0, NULL, 0);
}
#endif /* _REGEX_RE_COMP */
-
+
/* Internal entry point. */
/* Searches for a compiled pattern PREG in the string STRING, whose
@@ -1027,7 +1027,7 @@ prune_impossible_nodes (mctx)
We must select appropriate initial state depending on the context,
since initial states may have constraints like "\<", "^", etc.. */
-static inline re_dfastate_t *
+static __inline__ re_dfastate_t *
__attribute ((always_inline)) internal_function
acquire_init_state_context (reg_errcode_t *err, const re_match_context_t *mctx,
int idx)
@@ -2236,7 +2236,7 @@ sift_states_iter_mb (const re_match_context_t *mctx, re_sift_context_t *sctx,
}
#endif /* RE_ENABLE_I18N */
-
+
/* Functions for state transition. */
/* Return the next state to which the current state STATE will transit by
@@ -4117,7 +4117,7 @@ extend_buffers (re_match_context_t *mctx)
return REG_NOERROR;
}
-
+
/* Functions for matching context. */
/* Initialize MCTX. */