diff options
Diffstat (limited to 'src/regex/regex_internal.h')
-rw-r--r-- | src/regex/regex_internal.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/regex/regex_internal.h b/src/regex/regex_internal.h index 8f29cff33..5b434b30c 100644 --- a/src/regex/regex_internal.h +++ b/src/regex/regex_internal.h | |||
@@ -340,10 +340,10 @@ REGEX_INTERNAL_construct_nfa (const char *regex, const size_t len); | |||
340 | * | 340 | * |
341 | * @return GNUNET_YES to proceed traversal, GNUNET_NO to stop. | 341 | * @return GNUNET_YES to proceed traversal, GNUNET_NO to stop. |
342 | */ | 342 | */ |
343 | typedef int (*REGEX_INTERNAL_traverse_check) (void *cls, | 343 | typedef int |
344 | struct REGEX_INTERNAL_State *s, | 344 | (*REGEX_INTERNAL_traverse_check) (void *cls, |
345 | struct REGEX_INTERNAL_Transition * | 345 | struct REGEX_INTERNAL_State *s, |
346 | t); | 346 | struct REGEX_INTERNAL_Transition *t); |
347 | 347 | ||
348 | 348 | ||
349 | /** | 349 | /** |
@@ -353,9 +353,10 @@ typedef int (*REGEX_INTERNAL_traverse_check) (void *cls, | |||
353 | * @param count current count of the state, from 0 to a->state_count -1. | 353 | * @param count current count of the state, from 0 to a->state_count -1. |
354 | * @param s state. | 354 | * @param s state. |
355 | */ | 355 | */ |
356 | typedef void (*REGEX_INTERNAL_traverse_action) (void *cls, | 356 | typedef void |
357 | const unsigned int count, | 357 | (*REGEX_INTERNAL_traverse_action) (void *cls, |
358 | struct REGEX_INTERNAL_State *s); | 358 | const unsigned int count, |
359 | struct REGEX_INTERNAL_State *s); | ||
359 | 360 | ||
360 | 361 | ||
361 | /** | 362 | /** |