summaryrefslogtreecommitdiff
path: root/extmod/re1.5/regexp.h
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-10-12 03:12:19 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-10-12 03:12:19 +0300
commit457c0a606c5b319bc50902601c5bca0f53641911 (patch)
tree8dc8bb30daf53afffe0a4d6f0f3235059d1353c1 /extmod/re1.5/regexp.h
parentfbf976c9aa1589bc9da36187d60fc8e2281ad2c4 (diff)
modure: Upgrade re1.5 to 0.5.1
Changes include: regexp.h: Add double-include protection.
Diffstat (limited to 'extmod/re1.5/regexp.h')
-rw-r--r--extmod/re1.5/regexp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/extmod/re1.5/regexp.h b/extmod/re1.5/regexp.h
index 78492eb0f..316b27076 100644
--- a/extmod/re1.5/regexp.h
+++ b/extmod/re1.5/regexp.h
@@ -3,6 +3,9 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+#ifndef _RE1_5_REGEXP__H
+#define _RE1_5_REGEXP__H
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -136,3 +139,5 @@ int re1_5_sizecode(const char *re);
int re1_5_compilecode(ByteProg *prog, const char *re);
void re1_5_dumpcode(ByteProg *prog);
void cleanmarks(ByteProg *prog);
+
+#endif /*_RE1_5_REGEXP__H*/