Explorar el Código

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 hace 6 años
padre
commit
0396460c84
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  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"