diff options
author | Nan Zhou <nanzhoumails@gmail.com> | 2022-09-20 21:17:20 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2022-09-21 20:14:24 +0300 |
commit | 01c78a0617321a3b3ea9bde09b7deb6aa510545b (patch) | |
tree | fa5040d6124664f2166cb23701e97980ef751ded /scripts | |
parent | 043bec0965b9e9ba55888440fec4588c28335e5c (diff) | |
download | bmcweb-01c78a0617321a3b3ea9bde09b7deb6aa510545b.tar.xz |
registries: iwyu
Made the auto-generated headers and the openbmc registry include what
they use. Also alligned the include style.
Tested: code compiles.
Signed-off-by: Nan Zhou <nanzhoumails@gmail.com>
Change-Id: I6577d5e12bc02da3bd7bf5780f89a4860b314e19
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/parse_registries.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/parse_registries.py b/scripts/parse_registries.py index 8c300eda2e..bc546575e3 100755 --- a/scripts/parse_registries.py +++ b/scripts/parse_registries.py @@ -19,7 +19,9 @@ WARNING = '''/**************************************************************** ***************************************************************/''' REGISTRY_HEADER = PRAGMA_ONCE + WARNING + ''' -#include <registries.hpp> +#include "registries.hpp" + +#include <array> // clang-format off @@ -166,7 +168,9 @@ def get_variable_name_for_privilege_set(privilege_list): PRIVILEGE_HEADER = PRAGMA_ONCE + WARNING + ''' -#include <privileges.hpp> +#include "privileges.hpp" + +#include <array> // clang-format off |