diff options
| author | Raphael Isemann <teemperor@gmail.com> | 2021-05-26 12:19:37 +0200 |
|---|---|---|
| committer | Raphael Isemann <teemperor@gmail.com> | 2021-05-26 12:46:12 +0200 |
| commit | 76e47d4887f456878c0e2f20ebfae36267006cd7 (patch) | |
| tree | eda2cb15f0f5c338c93794e9e3fa8098ada5a350 /lldb/source/Host/common/Host.cpp | |
| parent | 21aec4fdc5de213a1009bc684adff988c290c6b3 (diff) | |
[lldb][NFC] Use C++ versions of the deprecated C standard library headers
The C headers are deprecated so as requested in D102845, this is replacing them
all with their (not deprecated) C++ equivalent.
Reviewed By: shafik
Differential Revision: https://reviews.llvm.org/D103084
Diffstat (limited to 'lldb/source/Host/common/Host.cpp')
| -rw-r--r-- | lldb/source/Host/common/Host.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Host/common/Host.cpp b/lldb/source/Host/common/Host.cpp index 99316660908e..ad7743c92e71 100644 --- a/lldb/source/Host/common/Host.cpp +++ b/lldb/source/Host/common/Host.cpp @@ -7,9 +7,9 @@ //===----------------------------------------------------------------------===// // C includes -#include <errno.h> -#include <limits.h> -#include <stdlib.h> +#include <cerrno> +#include <climits> +#include <cstdlib> #include <sys/types.h> #ifndef _WIN32 #include <dlfcn.h> |
