Skip to content

Commit 1a44534

Browse files
committed
scripted-diff: Replace #include "" with #include <> (ryanofsky)
-BEGIN VERIFY SCRIPT- for f in \ src/*.cpp \ src/*.h \ src/bench/*.cpp \ src/bench/*.h \ src/compat/*.cpp \ src/compat/*.h \ src/consensus/*.cpp \ src/consensus/*.h \ src/crypto/*.cpp \ src/crypto/*.h \ src/crypto/ctaes/*.h \ src/policy/*.cpp \ src/policy/*.h \ src/primitives/*.cpp \ src/primitives/*.h \ src/qt/*.cpp \ src/qt/*.h \ src/qt/test/*.cpp \ src/qt/test/*.h \ src/rpc/*.cpp \ src/rpc/*.h \ src/script/*.cpp \ src/script/*.h \ src/support/*.cpp \ src/support/*.h \ src/support/allocators/*.h \ src/test/*.cpp \ src/test/*.h \ src/wallet/*.cpp \ src/wallet/*.h \ src/wallet/test/*.cpp \ src/wallet/test/*.h \ src/zmq/*.cpp \ src/zmq/*.h do base=${f%/*}/ relbase=${base#src/} sed -i "s:#include \"\(.*\)\"\(.*\):if test -e \$base'\\1'; then echo \"#include <\"\$relbase\"\\1>\\2\"; else echo \"#include <\\1>\\2\"; fi:e" $f done -END VERIFY SCRIPT-
1 parent 4ed8180 commit 1a44534

File tree

355 files changed

+2046
-2046
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

355 files changed

+2046
-2046
lines changed

src/addrdb.cpp

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
// Distributed under the MIT software license, see the accompanying
44
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
55

6-
#include "addrdb.h"
7-
8-
#include "addrman.h"
9-
#include "chainparams.h"
10-
#include "clientversion.h"
11-
#include "fs.h"
12-
#include "hash.h"
13-
#include "random.h"
14-
#include "streams.h"
15-
#include "tinyformat.h"
16-
#include "util.h"
6+
#include <addrdb.h>
7+
8+
#include <addrman.h>
9+
#include <chainparams.h>
10+
#include <clientversion.h>
11+
#include <fs.h>
12+
#include <hash.h>
13+
#include <random.h>
14+
#include <streams.h>
15+
#include <tinyformat.h>
16+
#include <util.h>
1717

1818
namespace {
1919

src/addrdb.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
#ifndef BITCOIN_ADDRDB_H
77
#define BITCOIN_ADDRDB_H
88

9-
#include "fs.h"
10-
#include "serialize.h"
9+
#include <fs.h>
10+
#include <serialize.h>
1111

1212
#include <string>
1313
#include <map>

src/addrman.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
// Distributed under the MIT software license, see the accompanying
44
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
55

6-
#include "addrman.h"
6+
#include <addrman.h>
77

8-
#include "hash.h"
9-
#include "serialize.h"
10-
#include "streams.h"
8+
#include <hash.h>
9+
#include <serialize.h>
10+
#include <streams.h>
1111

1212
int CAddrInfo::GetTriedBucket(const uint256& nKey) const
1313
{

src/addrman.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
#ifndef BITCOIN_ADDRMAN_H
77
#define BITCOIN_ADDRMAN_H
88

9-
#include "netaddress.h"
10-
#include "protocol.h"
11-
#include "random.h"
12-
#include "sync.h"
13-
#include "timedata.h"
14-
#include "util.h"
9+
#include <netaddress.h>
10+
#include <protocol.h>
11+
#include <random.h>
12+
#include <sync.h>
13+
#include <timedata.h>
14+
#include <util.h>
1515

1616
#include <map>
1717
#include <set>

src/arith_uint256.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
// Distributed under the MIT software license, see the accompanying
44
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
55

6-
#include "arith_uint256.h"
6+
#include <arith_uint256.h>
77

8-
#include "uint256.h"
9-
#include "utilstrencodings.h"
10-
#include "crypto/common.h"
8+
#include <uint256.h>
9+
#include <utilstrencodings.h>
10+
#include <crypto/common.h>
1111

1212
#include <stdio.h>
1313
#include <string.h>

src/base58.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
// Distributed under the MIT software license, see the accompanying
33
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44

5-
#include "base58.h"
5+
#include <base58.h>
66

7-
#include "bech32.h"
8-
#include "hash.h"
9-
#include "script/script.h"
10-
#include "uint256.h"
11-
#include "utilstrencodings.h"
7+
#include <bech32.h>
8+
#include <hash.h>
9+
#include <script/script.h>
10+
#include <uint256.h>
11+
#include <utilstrencodings.h>
1212

1313
#include <boost/variant/apply_visitor.hpp>
1414
#include <boost/variant/static_visitor.hpp>

src/base58.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
#ifndef BITCOIN_BASE58_H
1515
#define BITCOIN_BASE58_H
1616

17-
#include "chainparams.h"
18-
#include "key.h"
19-
#include "pubkey.h"
20-
#include "script/standard.h"
21-
#include "support/allocators/zeroafterfree.h"
17+
#include <chainparams.h>
18+
#include <key.h>
19+
#include <pubkey.h>
20+
#include <script/standard.h>
21+
#include <support/allocators/zeroafterfree.h>
2222

2323
#include <string>
2424
#include <vector>

src/bech32.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Distributed under the MIT software license, see the accompanying
33
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44

5-
#include "bech32.h"
5+
#include <bech32.h>
66

77
namespace
88
{

src/bench/Examples.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
// Distributed under the MIT software license, see the accompanying
33
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44

5-
#include "bench.h"
6-
#include "validation.h"
7-
#include "utiltime.h"
5+
#include <bench/bench.h>
6+
#include <validation.h>
7+
#include <utiltime.h>
88

99
// Sanity test: this should loop ten times, and
1010
// min/max/average should be close to 100ms.

src/bench/base58.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
// Distributed under the MIT software license, see the accompanying
33
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44

5-
#include "bench.h"
5+
#include <bench/bench.h>
66

7-
#include "validation.h"
8-
#include "base58.h"
7+
#include <validation.h>
8+
#include <base58.h>
99

1010
#include <array>
1111
#include <vector>

0 commit comments

Comments
 (0)