refactor: Rename subprocess.hpp to follow our header name conventions

This commit is contained in:
Hennadii Stepanov 2024-04-19 11:02:01 +01:00
parent 2cecbbb986
commit d8e4ba4d05
No known key found for this signature in database
GPG Key ID: 410108112E7EA81F
4 changed files with 6 additions and 6 deletions

View File

@ -320,7 +320,7 @@ BITCOIN_CORE_H = \
util/sock.h \ util/sock.h \
util/spanparsing.h \ util/spanparsing.h \
util/string.h \ util/string.h \
util/subprocess.hpp \ util/subprocess.h \
util/syserror.h \ util/syserror.h \
util/task_runner.h \ util/task_runner.h \
util/thread.h \ util/thread.h \

View File

@ -12,7 +12,7 @@
#include <univalue.h> #include <univalue.h>
#ifdef ENABLE_EXTERNAL_SIGNER #ifdef ENABLE_EXTERNAL_SIGNER
#include <util/subprocess.hpp> #include <util/subprocess.h>
#endif // ENABLE_EXTERNAL_SIGNER #endif // ENABLE_EXTERNAL_SIGNER
UniValue RunCommandParseJSON(const std::string& str_command, const std::string& str_std_in) UniValue RunCommandParseJSON(const std::string& str_command, const std::string& str_std_in)

View File

@ -11,7 +11,7 @@
#include <univalue.h> #include <univalue.h>
#ifdef ENABLE_EXTERNAL_SIGNER #ifdef ENABLE_EXTERNAL_SIGNER
#include <util/subprocess.hpp> #include <util/subprocess.h>
#endif // ENABLE_EXTERNAL_SIGNER #endif // ENABLE_EXTERNAL_SIGNER
#include <boost/test/unit_test.hpp> #include <boost/test/unit_test.hpp>

View File

@ -33,8 +33,8 @@ Documentation for C++ subprocessing library.
@version 1.0.0 @version 1.0.0
*/ */
#ifndef SUBPROCESS_HPP #ifndef BITCOIN_UTIL_SUBPROCESS_H
#define SUBPROCESS_HPP #define BITCOIN_UTIL_SUBPROCESS_H
#include <algorithm> #include <algorithm>
#include <cassert> #include <cassert>
@ -1609,4 +1609,4 @@ namespace detail {
} }
#endif // SUBPROCESS_HPP #endif // BITCOIN_UTIL_SUBPROCESS_H