From 70b86c9c844a4f76417973a53f8cf97f681b48d9 Mon Sep 17 00:00:00 2001 From: Cindy Liu Date: Mon, 27 Jun 2022 17:03:54 -0700 Subject: [PATCH] Update the cbindgen toml to re-enable clang-format check Change-Id: I826b172087a09111c4f9934794f2a5c9e195e1ad GitOrigin-RevId: ed65bc8643bf5e909760dc632d856048e8aace62 --- .../MemoryManager/kata-memory-interface/cbindgen.toml | 2 +- .../components/MlCoordinator/kata-ml-interface/cbindgen.toml | 2 +- .../ProcessManager/kata-proc-interface/cbindgen.toml | 2 +- .../SecurityCoordinator/kata-security-interface/cbindgen.toml | 2 +- .../StorageManager/kata-storage-interface/cbindgen.toml | 2 +- .../components/TimerService/kata-timer-interface/cbindgen.toml | 2 +- apps/system/components/kata-os-common/src/camkes/cbindgen.toml | 2 +- apps/system/interfaces/CamkesBindings.h | 3 ++- apps/system/interfaces/MemoryManagerBindings.h | 3 ++- apps/system/interfaces/MlCoordBindings.h | 3 ++- apps/system/interfaces/ProcessManagerBindings.h | 3 ++- apps/system/interfaces/SecurityCoordinatorBindings.h | 3 ++- apps/system/interfaces/StorageManagerBindings.h | 3 ++- apps/system/interfaces/TimerServiceBindings.h | 3 ++- 14 files changed, 21 insertions(+), 14 deletions(-) diff --git a/apps/system/components/MemoryManager/kata-memory-interface/cbindgen.toml b/apps/system/components/MemoryManager/kata-memory-interface/cbindgen.toml index dce74e8..dc5bcb8 100644 --- a/apps/system/components/MemoryManager/kata-memory-interface/cbindgen.toml +++ b/apps/system/components/MemoryManager/kata-memory-interface/cbindgen.toml @@ -1,6 +1,6 @@ language = "C" include_guard = "__MEMORY_MANAGER_BINDINGS_H__" -autogen_warning = "/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. */" +autogen_warning = "/* Warning, this file is autogenerated by cbindgen. Don't modify this manually.\n */" no_includes = true includes = ["CamkesBindings.h"] diff --git a/apps/system/components/MlCoordinator/kata-ml-interface/cbindgen.toml b/apps/system/components/MlCoordinator/kata-ml-interface/cbindgen.toml index a5418b4..f98b70e 100644 --- a/apps/system/components/MlCoordinator/kata-ml-interface/cbindgen.toml +++ b/apps/system/components/MlCoordinator/kata-ml-interface/cbindgen.toml @@ -1,6 +1,6 @@ language = "C" include_guard = "__ML_COORDINATOR_BINDINGS_H__" -autogen_warning = "/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. */" +autogen_warning = "/* Warning, this file is autogenerated by cbindgen. Don't modify this manually.\n */" no_includes = true includes = ["CamkesBindings.h"] diff --git a/apps/system/components/ProcessManager/kata-proc-interface/cbindgen.toml b/apps/system/components/ProcessManager/kata-proc-interface/cbindgen.toml index d80aa91..95427f0 100644 --- a/apps/system/components/ProcessManager/kata-proc-interface/cbindgen.toml +++ b/apps/system/components/ProcessManager/kata-proc-interface/cbindgen.toml @@ -1,6 +1,6 @@ language = "C" include_guard = "__PROCESS_MANAGER_BINDINGS_H__" -autogen_warning = "/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. */" +autogen_warning = "/* Warning, this file is autogenerated by cbindgen. Don't modify this manually.\n */" no_includes = true includes = ["CamkesBindings.h"] diff --git a/apps/system/components/SecurityCoordinator/kata-security-interface/cbindgen.toml b/apps/system/components/SecurityCoordinator/kata-security-interface/cbindgen.toml index d61de29..1b81da7 100644 --- a/apps/system/components/SecurityCoordinator/kata-security-interface/cbindgen.toml +++ b/apps/system/components/SecurityCoordinator/kata-security-interface/cbindgen.toml @@ -1,6 +1,6 @@ language = "C" include_guard = "__SECURITY_COORDINATOR_BINDINGS_H__" -autogen_warning = "/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. */" +autogen_warning = "/* Warning, this file is autogenerated by cbindgen. Don't modify this manually.\n */" no_includes = true includes = ["CamkesBindings.h"] diff --git a/apps/system/components/StorageManager/kata-storage-interface/cbindgen.toml b/apps/system/components/StorageManager/kata-storage-interface/cbindgen.toml index bc4409b..7563117 100644 --- a/apps/system/components/StorageManager/kata-storage-interface/cbindgen.toml +++ b/apps/system/components/StorageManager/kata-storage-interface/cbindgen.toml @@ -1,6 +1,6 @@ language = "C" include_guard = "__STORAGE_MANAGER_BINDINGS_H__" -autogen_warning = "/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. */" +autogen_warning = "/* Warning, this file is autogenerated by cbindgen. Don't modify this manually.\n */" no_includes = true includes = ["CamkesBindings.h"] diff --git a/apps/system/components/TimerService/kata-timer-interface/cbindgen.toml b/apps/system/components/TimerService/kata-timer-interface/cbindgen.toml index 6b2871c..1767d7c 100644 --- a/apps/system/components/TimerService/kata-timer-interface/cbindgen.toml +++ b/apps/system/components/TimerService/kata-timer-interface/cbindgen.toml @@ -1,6 +1,6 @@ language = "C" include_guard = "__TIMER_SERVICE_BINDINGS_H__" -autogen_warning = "/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. */" +autogen_warning = "/* Warning, this file is autogenerated by cbindgen. Don't modify this manually.\n */" no_includes = true includes = ["CamkesBindings.h"] diff --git a/apps/system/components/kata-os-common/src/camkes/cbindgen.toml b/apps/system/components/kata-os-common/src/camkes/cbindgen.toml index 92259af..55af739 100644 --- a/apps/system/components/kata-os-common/src/camkes/cbindgen.toml +++ b/apps/system/components/kata-os-common/src/camkes/cbindgen.toml @@ -1,6 +1,6 @@ language = "C" include_guard = "__CAMKES_BINDINGS_H__" -autogen_warning = "/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. */" +autogen_warning = "/* Warning, this file is autogenerated by cbindgen. Don't modify this manually.\n */" no_includes = true [export] diff --git a/apps/system/interfaces/CamkesBindings.h b/apps/system/interfaces/CamkesBindings.h index 0f8c88e..dc1998a 100644 --- a/apps/system/interfaces/CamkesBindings.h +++ b/apps/system/interfaces/CamkesBindings.h @@ -1,7 +1,8 @@ #ifndef __CAMKES_BINDINGS_H__ #define __CAMKES_BINDINGS_H__ -/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. */ +/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. + */ #define CAP_RELEASE 2147483648 diff --git a/apps/system/interfaces/MemoryManagerBindings.h b/apps/system/interfaces/MemoryManagerBindings.h index 400a046..97329dc 100644 --- a/apps/system/interfaces/MemoryManagerBindings.h +++ b/apps/system/interfaces/MemoryManagerBindings.h @@ -1,7 +1,8 @@ #ifndef __MEMORY_MANAGER_BINDINGS_H__ #define __MEMORY_MANAGER_BINDINGS_H__ -/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. */ +/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. + */ #include "CamkesBindings.h" diff --git a/apps/system/interfaces/MlCoordBindings.h b/apps/system/interfaces/MlCoordBindings.h index 08be2f8..1bcbe50 100644 --- a/apps/system/interfaces/MlCoordBindings.h +++ b/apps/system/interfaces/MlCoordBindings.h @@ -1,7 +1,8 @@ #ifndef __ML_COORDINATOR_BINDINGS_H__ #define __ML_COORDINATOR_BINDINGS_H__ -/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. */ +/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. + */ #include "CamkesBindings.h" diff --git a/apps/system/interfaces/ProcessManagerBindings.h b/apps/system/interfaces/ProcessManagerBindings.h index 040f05a..f0622a3 100644 --- a/apps/system/interfaces/ProcessManagerBindings.h +++ b/apps/system/interfaces/ProcessManagerBindings.h @@ -1,7 +1,8 @@ #ifndef __PROCESS_MANAGER_BINDINGS_H__ #define __PROCESS_MANAGER_BINDINGS_H__ -/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. */ +/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. + */ #include "CamkesBindings.h" diff --git a/apps/system/interfaces/SecurityCoordinatorBindings.h b/apps/system/interfaces/SecurityCoordinatorBindings.h index 9101f94..a236f79 100644 --- a/apps/system/interfaces/SecurityCoordinatorBindings.h +++ b/apps/system/interfaces/SecurityCoordinatorBindings.h @@ -1,7 +1,8 @@ #ifndef __SECURITY_COORDINATOR_BINDINGS_H__ #define __SECURITY_COORDINATOR_BINDINGS_H__ -/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. */ +/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. + */ #include "CamkesBindings.h" diff --git a/apps/system/interfaces/StorageManagerBindings.h b/apps/system/interfaces/StorageManagerBindings.h index 72a7190..dc5a562 100644 --- a/apps/system/interfaces/StorageManagerBindings.h +++ b/apps/system/interfaces/StorageManagerBindings.h @@ -1,7 +1,8 @@ #ifndef __STORAGE_MANAGER_BINDINGS_H__ #define __STORAGE_MANAGER_BINDINGS_H__ -/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. */ +/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. + */ #include "CamkesBindings.h" diff --git a/apps/system/interfaces/TimerServiceBindings.h b/apps/system/interfaces/TimerServiceBindings.h index 41e048e..39ed715 100644 --- a/apps/system/interfaces/TimerServiceBindings.h +++ b/apps/system/interfaces/TimerServiceBindings.h @@ -1,7 +1,8 @@ #ifndef __TIMER_SERVICE_BINDINGS_H__ #define __TIMER_SERVICE_BINDINGS_H__ -/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. */ +/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. + */ #include "CamkesBindings.h"