diff options
author | fanquake <fanquake@gmail.com> | 2022-09-23 10:48:47 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-09-23 10:48:47 +0100 |
commit | a63d4cb26a2830b297288aa6acf5b69108353334 (patch) | |
tree | 0c1428b8652ee7f616b8fff83a079bc5b98e778d /src/ipc | |
parent | 100949af0e2551f22c02a73355f2c64710b68ef1 (diff) | |
download | bitcoin-a63d4cb26a2830b297288aa6acf5b69108353334.tar.xz |
refactor: use <cstdlib> over stdlib.h
We currently use both. Consolidate on the former.
Diffstat (limited to 'src/ipc')
-rw-r--r-- | src/ipc/interfaces.cpp | 2 | ||||
-rw-r--r-- | src/ipc/process.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ipc/interfaces.cpp b/src/ipc/interfaces.cpp index f4115db982..ee0d4123ce 100644 --- a/src/ipc/interfaces.cpp +++ b/src/ipc/interfaces.cpp @@ -13,10 +13,10 @@ #include <util/system.h> #include <cstdio> +#include <cstdlib> #include <functional> #include <memory> #include <stdexcept> -#include <stdlib.h> #include <string.h> #include <string> #include <unistd.h> diff --git a/src/ipc/process.cpp b/src/ipc/process.cpp index 9036b80c45..9474ad2c4a 100644 --- a/src/ipc/process.cpp +++ b/src/ipc/process.cpp @@ -10,10 +10,10 @@ #include <util/strencodings.h> #include <cstdint> +#include <cstdlib> #include <exception> #include <iostream> #include <stdexcept> -#include <stdlib.h> #include <string.h> #include <system_error> #include <unistd.h> |