summaryrefslogtreecommitdiff
path: root/include/apr_strmatch.h
diff options
context:
space:
mode:
authorjwoolley <jwoolley@13f79535-47bb-0310-9956-ffa450edef68>2002-05-25 00:06:44 +0000
committerjwoolley <jwoolley@13f79535-47bb-0310-9956-ffa450edef68>2002-05-25 00:06:44 +0000
commit271283eaa95e5897d90ac8b90380ebc4ce1e03bb (patch)
treee9fca92e0587f2dc367bd86a339a254d377e218d /include/apr_strmatch.h
parent1c12c3d93e223e04da7a3d76fab3b01952389bea (diff)
downloadlibapr-util-271283eaa95e5897d90ac8b90380ebc4ce1e03bb.tar.gz
The extern "C" {} should not encompass any #include's.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58654 13f79535-47bb-0310-9956-ffa450edef68
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 */