Skip to content

Commit 7fd49d0

Browse files
committed
Merge #11151: Fix header guards using reserved identifiers
bc70ab5 Fix header guards using reserved identifiers (Dan Raviv) Pull request description: Identifiers beginning with an underscore followed immediately by an uppercase letter are reserved. Tree-SHA512: 32b45e0aef6f6325bc3cbdea399532437490b753621149374df27e1c1eed6739ad1a09ae368e888cab8d01fb757f1b190c45a0854d2861de39a9296f17e29d9e
2 parents 07c92b9 + bc70ab5 commit 7fd49d0

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/cuckoocache.h

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

5-
#ifndef _BITCOIN_CUCKOOCACHE_H_
6-
#define _BITCOIN_CUCKOOCACHE_H_
5+
#ifndef BITCOIN_CUCKOOCACHE_H
6+
#define BITCOIN_CUCKOOCACHE_H
77

88
#include <array>
99
#include <algorithm>
@@ -478,4 +478,4 @@ class cache
478478
};
479479
} // namespace CuckooCache
480480

481-
#endif
481+
#endif // BITCOIN_CUCKOOCACHE_H

src/prevector.h

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

5-
#ifndef _BITCOIN_PREVECTOR_H_
6-
#define _BITCOIN_PREVECTOR_H_
5+
#ifndef BITCOIN_PREVECTOR_H
6+
#define BITCOIN_PREVECTOR_H
77

88
#include <assert.h>
99
#include <stdlib.h>
@@ -514,4 +514,4 @@ class prevector {
514514
};
515515
#pragma pack(pop)
516516

517-
#endif
517+
#endif // BITCOIN_PREVECTOR_H

0 commit comments

Comments
 (0)