浏览代码

Fix include guards in regex and utime

The include_guard in both regex and utime was "_TEMPLATE_H", this meant that including both wasn't possible.
Their header guards should be consistent with the header files as well.
Changed _TEMPLATE_H to _REGEX_H and _UTIME_H in /regex/cbindgen.toml and /utime/cbindgen.toml respectively.
Michal Z 6 年之前
父节点
当前提交
0396460c84
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/header/regex/cbindgen.toml
  2. 1 1
      src/header/utime/cbindgen.toml

+ 1 - 1
src/header/regex/cbindgen.toml

@@ -1,5 +1,5 @@
 sys_includes = ["sys/types.h"]
-include_guard = "_TEMPLATE_H"
+include_guard = "_REGEX_H"
 language = "C"
 style = "Type"
 

+ 1 - 1
src/header/utime/cbindgen.toml

@@ -1,5 +1,5 @@
 sys_includes = []
-include_guard = "_TEMPLATE_H"
+include_guard = "_UTIME_H"
 language = "C"
 style = "Tag"