aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Raviv <dan@soundradix.com>2017-08-26 02:56:53 +0300
committerDan Raviv <dan@soundradix.com>2017-08-26 02:56:53 +0300
commitbc70ab5dffce5cc9894929cac7c107dcb9c25053 (patch)
tree5e1b8445f1806cf6f4062f4c4a459c3688d23680
parent3f726c99f819f97f2ab21b94d34c6b3129cd883a (diff)
downloadbitcoin-bc70ab5dffce5cc9894929cac7c107dcb9c25053.tar.xz
Fix header guards using reserved identifiers
Identifiers beginning with an underscore followed immediately by an uppercase letter are reserved.
-rw-r--r--src/cuckoocache.h6
-rw-r--r--src/prevector.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/cuckoocache.h b/src/cuckoocache.h
index 9246a3924e..947e1a7185 100644
--- a/src/cuckoocache.h
+++ b/src/cuckoocache.h
@@ -2,8 +2,8 @@
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
-#ifndef _BITCOIN_CUCKOOCACHE_H_
-#define _BITCOIN_CUCKOOCACHE_H_
+#ifndef BITCOIN_CUCKOOCACHE_H
+#define BITCOIN_CUCKOOCACHE_H
#include <array>
#include <algorithm>
@@ -478,4 +478,4 @@ public:
};
} // namespace CuckooCache
-#endif
+#endif // BITCOIN_CUCKOOCACHE_H
diff --git a/src/prevector.h b/src/prevector.h
index f7bde8911a..eb29b3ae7e 100644
--- a/src/prevector.h
+++ b/src/prevector.h
@@ -2,8 +2,8 @@
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
-#ifndef _BITCOIN_PREVECTOR_H_
-#define _BITCOIN_PREVECTOR_H_
+#ifndef BITCOIN_PREVECTOR_H
+#define BITCOIN_PREVECTOR_H
#include <assert.h>
#include <stdlib.h>
@@ -514,4 +514,4 @@ public:
};
#pragma pack(pop)
-#endif
+#endif // BITCOIN_PREVECTOR_H