modure: Upgrade re1.5 to 0.5.1

Changes include:

regexp.h: Add double-include protection.
This commit is contained in:
Paul Sokolovsky 2014-10-12 03:12:19 +03:00
parent fbf976c9aa
commit 457c0a606c
1 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,9 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
#ifndef _RE1_5_REGEXP__H
#define _RE1_5_REGEXP__H
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
@ -136,3 +139,5 @@ int re1_5_sizecode(const char *re);
int re1_5_compilecode(ByteProg *prog, const char *re); int re1_5_compilecode(ByteProg *prog, const char *re);
void re1_5_dumpcode(ByteProg *prog); void re1_5_dumpcode(ByteProg *prog);
void cleanmarks(ByteProg *prog); void cleanmarks(ByteProg *prog);
#endif /*_RE1_5_REGEXP__H*/