aboutsummaryrefslogtreecommitdiff
path: root/src/regex/regex_internal.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-06-26 11:51:44 +0000
committerChristian Grothoff <christian@grothoff.org>2013-06-26 11:51:44 +0000
commit9058f938b0a651aaa3345755b76395c3385d246d (patch)
treec21583b85693e152de8af325c014eb52c716919d /src/regex/regex_internal.c
parent5f38f9933e6f19fcef0ded8aad3d6db4e6cbb666 (diff)
downloadgnunet-9058f938b0a651aaa3345755b76395c3385d246d.tar.gz
gnunet-9058f938b0a651aaa3345755b76395c3385d246d.zip
-renaming symbols of the block library to use the REGEX_BLOCK_ prefix and not the REGEX_INTERNAL_ prefix
Diffstat (limited to 'src/regex/regex_internal.c')
-rw-r--r--src/regex/regex_internal.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/regex/regex_internal.c b/src/regex/regex_internal.c
index 6fda695a7..059aaaed6 100644
--- a/src/regex/regex_internal.c
+++ b/src/regex/regex_internal.c
@@ -205,7 +205,7 @@ state_compare (const void *a, const void *b)
205 * @return number of edges. 205 * @return number of edges.
206 */ 206 */
207static unsigned int 207static unsigned int
208state_get_edges (struct REGEX_INTERNAL_State *s, struct REGEX_INTERNAL_Edge *edges) 208state_get_edges (struct REGEX_INTERNAL_State *s, struct REGEX_BLOCK_Edge *edges)
209{ 209{
210 struct REGEX_INTERNAL_Transition *t; 210 struct REGEX_INTERNAL_Transition *t;
211 unsigned int count; 211 unsigned int count;
@@ -3372,8 +3372,8 @@ iterate_initial_edge (const unsigned int min_len, const unsigned int max_len,
3372 char *temp; 3372 char *temp;
3373 struct REGEX_INTERNAL_Transition *t; 3373 struct REGEX_INTERNAL_Transition *t;
3374 unsigned int num_edges = state->transition_count; 3374 unsigned int num_edges = state->transition_count;
3375 struct REGEX_INTERNAL_Edge edges[num_edges]; 3375 struct REGEX_BLOCK_Edge edges[num_edges];
3376 struct REGEX_INTERNAL_Edge edge[1]; 3376 struct REGEX_BLOCK_Edge edge[1];
3377 struct GNUNET_HashCode hash; 3377 struct GNUNET_HashCode hash;
3378 struct GNUNET_HashCode hash_new; 3378 struct GNUNET_HashCode hash_new;
3379 3379
@@ -3463,7 +3463,7 @@ REGEX_INTERNAL_iterate_all_edges (struct REGEX_INTERNAL_Automaton *a,
3463 3463
3464 for (s = a->states_head; NULL != s; s = s->next) 3464 for (s = a->states_head; NULL != s; s = s->next)
3465 { 3465 {
3466 struct REGEX_INTERNAL_Edge edges[s->transition_count]; 3466 struct REGEX_BLOCK_Edge edges[s->transition_count];
3467 unsigned int num_edges; 3467 unsigned int num_edges;
3468 3468
3469 num_edges = state_get_edges (s, edges); 3469 num_edges = state_get_edges (s, edges);