From bc70ab5dffce5cc9894929cac7c107dcb9c25053 Mon Sep 17 00:00:00 2001 From: Dan Raviv Date: Sat, 26 Aug 2017 02:56:53 +0300 Subject: [PATCH] Fix header guards using reserved identifiers Identifiers beginning with an underscore followed immediately by an uppercase letter are reserved. --- src/cuckoocache.h | 6 +++--- src/prevector.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/cuckoocache.h b/src/cuckoocache.h index 9246a3924..947e1a718 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 #include @@ -478,4 +478,4 @@ public: }; } // namespace CuckooCache -#endif +#endif // BITCOIN_CUCKOOCACHE_H diff --git a/src/prevector.h b/src/prevector.h index f7bde8911..eb29b3ae7 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 #include @@ -514,4 +514,4 @@ public: }; #pragma pack(pop) -#endif +#endif // BITCOIN_PREVECTOR_H