commit | b3b84b497a20c33f5c49e67e89c20638929166a3 | [log] [tgz] |
---|---|---|
author | Pavithra Barithaya <pavithrabarithaya07@gmail.com> | Fri Aug 23 11:43:57 2024 +0530 |
committer | Pavithra Barithaya <pavithrabarithaya07@gmail.com> | Mon Sep 02 12:54:11 2024 +0000 |
tree | e4e9297c72a825454331826fb908b2f1e0fa7d4f | |
parent | f6f6cda3a4916ad9a2588c928fb28231a1e636d9 [diff] [blame] |
clang-tidy: Enable modernize-deprecated-headers check Some headers from C library were deprecated in C++ and are no longer welcome in C++ codebases. Some have no effect in C++ [1]. [1]: https://releases.llvm.org/13.0.1/tools/clang/tools/extra/docs/clang-tidy/checks/modernize-deprecated-headers.html Change-Id: Ia3b1df10175e2e661c8fffb82e357c9db81b2e9c Signed-off-by: Pavithra Barithaya <pavithrabarithaya07@gmail.com>
diff --git a/oem/ibm/libpldmresponder/file_io.hpp b/oem/ibm/libpldmresponder/file_io.hpp index eab731b..cccd919 100644 --- a/oem/ibm/libpldmresponder/file_io.hpp +++ b/oem/ibm/libpldmresponder/file_io.hpp
@@ -10,13 +10,13 @@ #include <libpldm/base.h> #include <libpldm/oem/ibm/file_io.h> #include <libpldm/oem/ibm/host.h> -#include <stdint.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> #include <phosphor-logging/lg2.hpp> +#include <cstdint> #include <filesystem> #include <iostream> #include <vector>