Parcourir la source

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 il y a 6 ans
Parent
commit
0396460c84
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  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"