summaryrefslogtreecommitdiffstats
path: root/libc/misc/regex/regex_internal.c
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-07-31 15:21:24 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-07-31 15:21:24 +0000
commitdd7d7e3f138d1835d153c316f3d771e40dc641ba (patch)
tree7427232d1e9759028490f843152a83a4bbbab7db /libc/misc/regex/regex_internal.c
parent89ed2cccba266f7738ceb445e4d43103c08cbe75 (diff)
downloaduClibc-alpine-dd7d7e3f138d1835d153c316f3d771e40dc641ba.tar.bz2
uClibc-alpine-dd7d7e3f138d1835d153c316f3d771e40dc641ba.tar.xz
Synch with trunk at rev 22997.
Basically trailing whitespaces removal, fix non standard keywords asm -> __asm__ inline -> __inline__ and some minor changes on trunk. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libc/misc/regex/regex_internal.c')
-rw-r--r--libc/misc/regex/regex_internal.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/misc/regex/regex_internal.c b/libc/misc/regex/regex_internal.c
index fa0b336e8..11b1be7c2 100644
--- a/libc/misc/regex/regex_internal.c
+++ b/libc/misc/regex/regex_internal.c
@@ -29,7 +29,7 @@ static re_dfastate_t *create_cd_newstate (const re_dfa_t *dfa,
const re_node_set *nodes,
unsigned int context,
unsigned int hash) internal_function;
-
+
/* Functions for string operation. */
/* This function allocate the buffers. It is necessary to call
@@ -873,7 +873,7 @@ re_string_context_at (const re_string_t *input, int idx, int eflags)
return IS_NEWLINE (c) && input->newline_anchor ? CONTEXT_NEWLINE : 0;
}
}
-
+
/* Functions for set operation. */
static reg_errcode_t
@@ -1314,7 +1314,7 @@ re_node_set_remove_at (re_node_set *set, int idx)
for (; idx < set->nelem; idx++)
set->elems[idx] = set->elems[idx + 1];
}
-
+
/* Add the token TOKEN to dfa->nodes, and return the index of the token.
Or return -1, if an error will be occured. */
@@ -1366,7 +1366,7 @@ re_dfa_add_node (re_dfa_t *dfa, re_token_t token)
return dfa->nodes_len++;
}
-static inline unsigned int
+static __inline__ unsigned int
internal_function
calc_state_hash (const re_node_set *nodes, unsigned int context)
{