Skip to content

Commit d8e4ba4

Browse files
committed
refactor: Rename subprocess.hpp to follow our header name conventions
1 parent 2cecbbb commit d8e4ba4

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ BITCOIN_CORE_H = \
320320
util/sock.h \
321321
util/spanparsing.h \
322322
util/string.h \
323-
util/subprocess.hpp \
323+
util/subprocess.h \
324324
util/syserror.h \
325325
util/task_runner.h \
326326
util/thread.h \

src/common/run_command.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include <univalue.h>
1313

1414
#ifdef ENABLE_EXTERNAL_SIGNER
15-
#include <util/subprocess.hpp>
15+
#include <util/subprocess.h>
1616
#endif // ENABLE_EXTERNAL_SIGNER
1717

1818
UniValue RunCommandParseJSON(const std::string& str_command, const std::string& str_std_in)

src/test/system_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include <univalue.h>
1212

1313
#ifdef ENABLE_EXTERNAL_SIGNER
14-
#include <util/subprocess.hpp>
14+
#include <util/subprocess.h>
1515
#endif // ENABLE_EXTERNAL_SIGNER
1616

1717
#include <boost/test/unit_test.hpp>

src/util/subprocess.hpp renamed to src/util/subprocess.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ Documentation for C++ subprocessing library.
3333
@version 1.0.0
3434
*/
3535

36-
#ifndef SUBPROCESS_HPP
37-
#define SUBPROCESS_HPP
36+
#ifndef BITCOIN_UTIL_SUBPROCESS_H
37+
#define BITCOIN_UTIL_SUBPROCESS_H
3838

3939
#include <algorithm>
4040
#include <cassert>
@@ -1609,4 +1609,4 @@ namespace detail {
16091609

16101610
}
16111611

1612-
#endif // SUBPROCESS_HPP
1612+
#endif // BITCOIN_UTIL_SUBPROCESS_H

0 commit comments

Comments
 (0)