2
0
Эх сурвалжийг харах

Unambiguate all include guards

GNU binutils also uses _FNMATCH_H for a guard, maybe along others!
jD91mZM2 4 жил өмнө
parent
commit
593925ceb4
35 өөрчлөгдсөн 35 нэмэгдсэн , 35 устгасан
  1. 1 1
      src/header/_aio/cbindgen.toml
  2. 1 1
      src/header/_fenv/cbindgen.toml
  3. 1 1
      src/header/_template/cbindgen.toml
  4. 1 1
      src/header/_wctype/cbindgen.toml
  5. 1 1
      src/header/assert/cbindgen.toml
  6. 1 1
      src/header/ctype/cbindgen.toml
  7. 1 1
      src/header/dirent/cbindgen.toml
  8. 1 1
      src/header/dlfcn/cbindgen.toml
  9. 1 1
      src/header/errno/cbindgen.toml
  10. 1 1
      src/header/fcntl/cbindgen.toml
  11. 1 1
      src/header/float/cbindgen.toml
  12. 1 1
      src/header/fnmatch/cbindgen.toml
  13. 1 1
      src/header/getopt/cbindgen.toml
  14. 1 1
      src/header/grp/cbindgen.toml
  15. 1 1
      src/header/inttypes/cbindgen.toml
  16. 1 1
      src/header/libgen/cbindgen.toml
  17. 1 1
      src/header/limits/cbindgen.toml
  18. 1 1
      src/header/locale/cbindgen.toml
  19. 1 1
      src/header/netdb/cbindgen.toml
  20. 1 1
      src/header/poll/cbindgen.toml
  21. 1 1
      src/header/pwd/cbindgen.toml
  22. 1 1
      src/header/regex/cbindgen.toml
  23. 1 1
      src/header/semaphore/cbindgen.toml
  24. 1 1
      src/header/sgtty/cbindgen.toml
  25. 1 1
      src/header/signal/cbindgen.toml
  26. 1 1
      src/header/stdio/cbindgen.toml
  27. 1 1
      src/header/stdlib/cbindgen.toml
  28. 1 1
      src/header/string/cbindgen.toml
  29. 1 1
      src/header/strings/cbindgen.toml
  30. 1 1
      src/header/termios/cbindgen.toml
  31. 1 1
      src/header/time/cbindgen.toml
  32. 1 1
      src/header/unistd/cbindgen.toml
  33. 1 1
      src/header/utime/cbindgen.toml
  34. 1 1
      src/header/wchar/cbindgen.toml
  35. 1 1
      src/header/wctype/cbindgen.toml

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

@@ -1,5 +1,5 @@
 sys_includes = []
-include_guard = "_AIO_H"
+include_guard = "_RELIBC_AIO_H"
 language = "C"
 style = "Tag"
 no_includes = true

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

@@ -1,5 +1,5 @@
 sys_includes = ["stdint.h", "sys/types.h"]
-include_guard = "_FENV_H"
+include_guard = "_RELIBC_FENV_H"
 language = "C"
 style = "Tag"
 no_includes = true

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

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

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

@@ -1,5 +1,5 @@
 sys_includes = []
-include_guard = "_WCTYPE_H"
+include_guard = "_RELIBC_WCTYPE_H"
 language = "C"
 style = "Tag"
 no_includes = true

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

@@ -1,5 +1,5 @@
 sys_includes = ["bits/assert.h"]
-include_guard = "_ASSERT_H"
+include_guard = "_RELIBC_ASSERT_H"
 language = "C"
 style = "Tag"
 no_includes = true

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

@@ -1,5 +1,5 @@
 sys_includes = ["bits/ctype.h"]
-include_guard = "_CTYPE_H"
+include_guard = "_RELIBC_CTYPE_H"
 language = "C"
 style = "Tag"
 no_includes = true

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

@@ -1,5 +1,5 @@
 sys_includes = ["sys/types.h"]
-include_guard = "_DIRENT_H"
+include_guard = "_RELIBC_DIRENT_H"
 language = "C"
 style = "Both"
 trailer = "#include <bits/dirent.h>"

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

@@ -1,5 +1,5 @@
 sys_includes = []
-include_guard = "_DLFCN_H"
+include_guard = "_RELIBC_DLFCN_H"
 language = "C"
 style = "Type"
 no_includes = true

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

@@ -1,5 +1,5 @@
 sys_includes = ["bits/errno.h"]
-include_guard = "_ERRNO_H"
+include_guard = "_RELIBC_ERRNO_H"
 language = "C"
 style = "Tag"
 no_includes = true

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

@@ -1,5 +1,5 @@
 sys_includes = ["stdarg.h", "sys/types.h"]
-include_guard = "_FCNTL_H"
+include_guard = "_RELIBC_FCNTL_H"
 trailer = "#include <bits/fcntl.h>"
 language = "C"
 style = "Tag"

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

@@ -1,5 +1,5 @@
 sys_includes = ["sys/types.h", "bits/float.h"]
-include_guard = "_FLOAT_H"
+include_guard = "_RELIBC_FLOAT_H"
 language = "C"
 style = "Tag"
 no_includes = true

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

@@ -1,4 +1,4 @@
-include_guard = "_FNMATCH_H"
+include_guard = "_RELIBC_FNMATCH_H"
 language = "C"
 style = "Tag"
 no_includes = true

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

@@ -1,5 +1,5 @@
 sys_includes = ["unistd.h"]
-include_guard = "_GETOPT_H"
+include_guard = "_RELIBC_GETOPT_H"
 language = "C"
 style = "Tag"
 no_includes = true

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

@@ -1,5 +1,5 @@
 sys_includes = []
-include_guard = "_GRP_H"
+include_guard = "_RELIBC_GRP_H"
 language = "C"
 style = "Tag"
 no_includes = true

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

@@ -1,5 +1,5 @@
 sys_includes = ["stdint.h", "wchar.h"]
-include_guard = "_INTTYPES_H"
+include_guard = "_RELIBC_INTTYPES_H"
 trailer = "#include <bits/inttypes.h>"
 language = "C"
 style = "Type"

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

@@ -1,5 +1,5 @@
 sys_includes = []
-include_guard = "_LIBGEN_H"
+include_guard = "_RELIBC_LIBGEN_H"
 language = "C"
 style = "Tag"
 no_includes = true

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

@@ -1,5 +1,5 @@
 sys_includes = []
-include_guard = "_LIMITS_H"
+include_guard = "_RELIBC_LIMITS_H"
 trailer = "#include <bits/limits.h>"
 language = "C"
 style = "Tag"

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

@@ -1,4 +1,4 @@
-include_guard = "_LOCALE_H"
+include_guard = "_RELIBC_LOCALE_H"
 trailer = "#include <bits/locale.h>"
 language = "C"
 style = "Tag"

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

@@ -1,5 +1,5 @@
 sys_includes = ["sys/socket.h", "netinet/in.h"]
-include_guard = "_NETDB_H"
+include_guard = "_RELIBC_NETDB_H"
 trailer = "#include <bits/netdb.h>"
 language = "C"
 style = "Tag"

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

@@ -1,5 +1,5 @@
 sys_includes = []
-include_guard = "_POLL_H"
+include_guard = "_RELIBC_POLL_H"
 language = "C"
 style = "Tag"
 no_includes = true

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

@@ -1,5 +1,5 @@
 sys_includes = ["stddef.h", "sys/types.h"]
-include_guard = "_PWD_H"
+include_guard = "_RELIBC_PWD_H"
 language = "C"
 style = "Tag"
 no_includes = true

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

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

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

@@ -1,5 +1,5 @@
 sys_includes = []
-include_guard = "_SEMAPHORE_H"
+include_guard = "_RELIBC_SEMAPHORE_H"
 language = "C"
 style = "Tag"
 no_includes = true

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

@@ -1,5 +1,5 @@
 sys_includes = ["sys/ioctl.h"]
-include_guard = "_SGTTY_H"
+include_guard = "_RELIBC_SGTTY_H"
 language = "C"
 style = "Tag"
 no_includes = true

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

@@ -1,5 +1,5 @@
 sys_includes = ["stdint.h", "sys/types.h"]
-include_guard = "_SIGNAL_H"
+include_guard = "_RELIBC_SIGNAL_H"
 trailer = "#include <bits/signal.h>"
 language = "C"
 style = "Tag"

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

@@ -1,5 +1,5 @@
 sys_includes = ["stdarg.h", "stddef.h", "stdint.h", "sys/types.h"]
-include_guard = "_STDIO_H"
+include_guard = "_RELIBC_STDIO_H"
 trailer = "#include <bits/stdio.h>"
 language = "C"
 style = "Type"

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

@@ -1,5 +1,5 @@
 sys_includes = ["stddef.h", "alloca.h"]
-include_guard = "_STDLIB_H"
+include_guard = "_RELIBC_STDLIB_H"
 trailer = "#include <bits/stdlib.h>"
 language = "C"
 style = "Type"

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

@@ -1,5 +1,5 @@
 sys_includes = ["stddef.h", "stdint.h", "strings.h"]
-include_guard = "_STRING_H"
+include_guard = "_RELIBC_STRING_H"
 language = "C"
 style = "Tag"
 no_includes = true

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

@@ -1,5 +1,5 @@
 sys_includes = ["stddef.h", "stdint.h"]
-include_guard = "_STRINGS_H"
+include_guard = "_RELIBC_STRINGS_H"
 language = "C"
 style = "Tag"
 no_includes = true

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

@@ -1,5 +1,5 @@
 sys_includes = ["stdint.h"]
-include_guard = "_TERMIOS_H"
+include_guard = "_RELIBC_TERMIOS_H"
 language = "C"
 style = "Tag"
 no_includes = true

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

@@ -1,5 +1,5 @@
 sys_includes = ["sys/types.h", "stdint.h", "stddef.h"]
-include_guard = "_TIME_H"
+include_guard = "_RELIBC_TIME_H"
 language = "C"
 style = "Tag"
 no_includes = true

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

@@ -1,5 +1,5 @@
 sys_includes = ["stddef.h", "stdint.h", "sys/types.h"]
-include_guard = "_UNISTD_H"
+include_guard = "_RELIBC_UNISTD_H"
 trailer = "#include <bits/fcntl.h>\n#include <bits/unistd.h>"
 language = "C"
 style = "Tag"

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

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

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

@@ -1,5 +1,5 @@
 sys_includes = ["stddef.h", "stdint.h", "time.h", "stdio.h" ]
-include_guard = "_WCHAR_H"
+include_guard = "_RELIBC_WCHAR_H"
 header = "#include <bits/wchar.h>"
 language = "C"
 style = "Type"

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

@@ -1,5 +1,5 @@
 sys_includes = ["stddef.h", "stdint.h", "time.h", "stdio.h" ]
-include_guard = "_WCTYPE_H"
+include_guard = "_RELIBC_WCTYPE_H"
 header = "#include <bits/wctype.h>"
 language = "C"
 style = "Type"