aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorK.Kosako <kosako@sofnec.co.jp>2020-01-14 14:16:39 +0900
committerK.Kosako <kosako@sofnec.co.jp>2020-01-14 14:16:39 +0900
commitca4e7aa432513547df6e2c1dc04fae7f04b359ab (patch)
treefbf2e6dba99407aafbdd07e155e3146df7510c1f
parentc7bd321bcaf22d1a9bb598ea414736360d2025ec (diff)
downloadoniguruma-ca4e7aa432513547df6e2c1dc04fae7f04b359ab.zip
oniguruma-ca4e7aa432513547df6e2c1dc04fae7f04b359ab.tar.gz
oniguruma-ca4e7aa432513547df6e2c1dc04fae7f04b359ab.tar.bz2
remove include <string.h> from generated fold/unfold data files
-rwxr-xr-xsrc/make_unicode_fold_data.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/make_unicode_fold_data.py b/src/make_unicode_fold_data.py
index e2a92c3..b9085c5 100755
--- a/src/make_unicode_fold_data.py
+++ b/src/make_unicode_fold_data.py
@@ -254,7 +254,7 @@ HEAD = '''
/* This gperf source file was generated by make_unicode_fold_data.py */
/*-
- * Copyright (c) 2017-2019 K.Kosako
+ * Copyright (c) 2017-2020 K.Kosako
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -278,8 +278,7 @@ HEAD = '''
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
-#include <string.h>
-#include "regenc.h"
+#include "regint.h"
%}
'''.strip()