Header define style cleanups

This commit is contained in:
Pieter Wuille 2014-11-19 22:17:58 +01:00
parent a53fd41485
commit 9d8604f36a
4 changed files with 12 additions and 12 deletions

View File

@ -2,8 +2,8 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_HMAC_SHA256_H #ifndef BITCOIN_CRYPTO_HMAC_SHA256_H
#define BITCOIN_HMAC_SHA256_H #define BITCOIN_CRYPTO_HMAC_SHA256_H
#include "crypto/sha256.h" #include "crypto/sha256.h"
@ -29,4 +29,4 @@ public:
void Finalize(unsigned char hash[OUTPUT_SIZE]); void Finalize(unsigned char hash[OUTPUT_SIZE]);
}; };
#endif // BITCOIN_SHA256_H #endif // BITCOIN_CRYPTO_HMAC_SHA256_H

View File

@ -2,8 +2,8 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_HMAC_SHA512_H #ifndef BITCOIN_CRYPTO_HMAC_SHA512_H
#define BITCOIN_HMAC_SHA512_H #define BITCOIN_CRYPTO_HMAC_SHA512_H
#include "crypto/sha512.h" #include "crypto/sha512.h"
@ -29,4 +29,4 @@ public:
void Finalize(unsigned char hash[OUTPUT_SIZE]); void Finalize(unsigned char hash[OUTPUT_SIZE]);
}; };
#endif // BITCOIN_HMAC_SHA512_H #endif // BITCOIN_CRYPTO_HMAC_SHA512_H

View File

@ -2,8 +2,8 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_SHA256_H #ifndef BITCOIN_CRYPTO_SHA256_H
#define BITCOIN_SHA256_H #define BITCOIN_CRYPTO_SHA256_H
#include <stdint.h> #include <stdint.h>
#include <stdlib.h> #include <stdlib.h>
@ -25,4 +25,4 @@ public:
CSHA256& Reset(); CSHA256& Reset();
}; };
#endif // BITCOIN_SHA256_H #endif // BITCOIN_CRYPTO_SHA256_H

View File

@ -2,8 +2,8 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_SHA512_H #ifndef BITCOIN_CRYPTO_SHA512_H
#define BITCOIN_SHA512_H #define BITCOIN_CRYPTO_SHA512_H
#include <stdint.h> #include <stdint.h>
#include <stdlib.h> #include <stdlib.h>
@ -25,4 +25,4 @@ public:
CSHA512& Reset(); CSHA512& Reset();
}; };
#endif // BITCOIN_SHA512_H #endif // BITCOIN_CRYPTO_SHA512_H