aboutsummaryrefslogtreecommitdiff
path: root/httpd/patterns.h
diff options
context:
space:
mode:
authorReyk Floeter <reyk@esdenera.com>2015-07-16 21:06:14 +0200
committerReyk Floeter <reyk@esdenera.com>2015-07-16 21:06:14 +0200
commitc690aa7c2b56f7fb30f72222928b0f7563a1e7e1 (patch)
tree78a4b306da3389048c0948eb6155b50d0cfbc87e /httpd/patterns.h
parent5534dbfa66d3e3bf884fc09cd4e0ff296b6f7bdc (diff)
downloadhttpd-c690aa7c2b56f7fb30f72222928b0f7563a1e7e1.tar.gz
httpd-c690aa7c2b56f7fb30f72222928b0f7563a1e7e1.zip
sync with -current during c2k15
Diffstat (limited to 'httpd/patterns.h')
-rw-r--r--httpd/patterns.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/httpd/patterns.h b/httpd/patterns.h
index e753849..74790b5 100644
--- a/httpd/patterns.h
+++ b/httpd/patterns.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: patterns.h,v 1.1 2015/06/23 15:23:14 reyk Exp $ */
+/* $OpenBSD: patterns.h,v 1.2 2015/06/26 17:26:29 semarie Exp $ */
/*
* Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org>
@@ -16,12 +16,12 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <sys/types.h>
-#include <sys/cdefs.h>
-
#ifndef PATTERNS_H
#define PATTERNS_H
+#include <sys/types.h>
+#include <sys/cdefs.h>
+
#define MAXCAPTURES 32 /* Max no. of allowed captures in pattern */
#define MAXCCALLS 200 /* Max recusion depth in pattern matching */
#define MAXREPETITION 0xfffff /* Max for repetition items */