summaryrefslogtreecommitdiff
path: root/include/apr_strmatch.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/apr_strmatch.h')
-rw-r--r--include/apr_strmatch.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/apr_strmatch.h b/include/apr_strmatch.h
index 85c4732c..fc579840 100644
--- a/include/apr_strmatch.h
+++ b/include/apr_strmatch.h
@@ -62,6 +62,10 @@
* @file apr_strmatch.h
* @brief APR-UTIL string matching routines
*/
+
+#include "apu.h"
+#include "apr_pools.h"
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -72,17 +76,13 @@ extern "C" {
* @{
*/
-#include "apu.h"
-#include "apr_pools.h"
-
-
typedef struct apr_strmatch_pattern apr_strmatch_pattern;
/**
* Precompiled search pattern
*/
struct apr_strmatch_pattern {
const char *(*compare)(const apr_strmatch_pattern *this_pattern,
- const char *s, apr_size_t slen);
+ const char *s, apr_size_t slen);
const char *pattern;
apr_size_t length;
void *context; /* hook for subclasses to add precomputed metadata */