From 04641354ffb963082480d05c0763a096bf02af43 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Mon, 10 Feb 2020 17:01:31 +0100 Subject: [PATCH] Adding "EOSIOKEYGEN" prefix to all header guards. --- src/WIF.h | 6 +++--- src/base58.h | 6 +++--- src/benchmark.h | 6 +++--- src/checksum.h | 6 +++--- src/console.h | 6 +++--- src/ec/generate.h | 6 +++--- src/ec/types.h | 6 +++--- src/key_search.h | 6 +++--- src/key_search_helpers.h | 6 +++--- src/string.h | 6 +++--- 10 files changed, 30 insertions(+), 30 deletions(-) diff --git a/src/WIF.h b/src/WIF.h index 55d6993..9ee077c 100644 --- a/src/WIF.h +++ b/src/WIF.h @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef WIF_H -#define WIF_H +#ifndef EOSIOKEYGEN_WIF_H +#define EOSIOKEYGEN_WIF_H #include #include "ec/types.h" @@ -37,4 +37,4 @@ void wif_print_key(const struct ec_keypair *key); } // namespace eoskeygen -#endif /* WIF_H */ +#endif /* EOSIOKEYGEN_WIF_H */ diff --git a/src/base58.h b/src/base58.h index 59e269d..16b7798 100644 --- a/src/base58.h +++ b/src/base58.h @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef BASE58_H -#define BASE58_H +#ifndef EOSIOKEYGEN_BASE58_H +#define EOSIOKEYGEN_BASE58_H #include #include @@ -35,4 +35,4 @@ std::string base58_encode(const unsigned char* pbegin, const unsigned char* pend } //namespace eoskeygen -#endif /* BASE58_H */ +#endif /* EOSIOKEYGEN_BASE58_H */ diff --git a/src/benchmark.h b/src/benchmark.h index e21a178..8b1f57b 100644 --- a/src/benchmark.h +++ b/src/benchmark.h @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef BENCHMARK_H -#define BENCHMARK_H +#ifndef EOSIOKEYGEN_BENCHMARK_H +#define EOSIOKEYGEN_BENCHMARK_H #include @@ -37,4 +37,4 @@ void benchmark(size_t num_keys, struct benchmark_result* res); } // namespace eoskeygen -#endif /* BENCHMARK_H */ +#endif /* EOSIOKEYGEN_BENCHMARK_H */ diff --git a/src/checksum.h b/src/checksum.h index 49b27f4..b48f783 100644 --- a/src/checksum.h +++ b/src/checksum.h @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef CHECKSUM_H -#define CHECKSUM_H +#ifndef EOSIOKEYGEN_CHECKSUM_H +#define EOSIOKEYGEN_CHECKSUM_H #include #include @@ -39,4 +39,4 @@ checksum_t checksum_ripemd160(const unsigned char *data, std::size_t len); } // namespace eoskeygen -#endif /* CHECKSUM_H */ +#endif /* EOSIOKEYGEN_CHECKSUM_H */ diff --git a/src/console.h b/src/console.h index 49932a7..bc20e0e 100644 --- a/src/console.h +++ b/src/console.h @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef CONSOLE_H -#define CONSOLE_H +#ifndef EOSIOKEYGEN_CONSOLE_H +#define EOSIOKEYGEN_CONSOLE_H #include @@ -84,4 +84,4 @@ namespace console { } // namespace eoskeygen -#endif /* CONSOLE_H */ +#endif /* EOSIOKEYGEN_CONSOLE_H */ diff --git a/src/ec/generate.h b/src/ec/generate.h index c3f686c..e617fa3 100644 --- a/src/ec/generate.h +++ b/src/ec/generate.h @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef EC_GENERATE_H -#define EC_GENERATE_H +#ifndef EOSIOKEYGEN_EC_GENERATE_H +#define EOSIOKEYGEN_EC_GENERATE_H #include "types.h" @@ -36,4 +36,4 @@ int ec_generate_key(struct ec_keypair *pair); } // namespace eoskeygen -#endif /* EC_GENERATE_H */ +#endif /* EOSIOKEYGEN_EC_GENERATE_H */ diff --git a/src/ec/types.h b/src/ec/types.h index a59cf7a..f48b063 100644 --- a/src/ec/types.h +++ b/src/ec/types.h @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef EC_TYPES_H -#define EC_TYPES_H +#ifndef EOSIOKEYGEN_EC_TYPES_H +#define EOSIOKEYGEN_EC_TYPES_H #include @@ -47,4 +47,4 @@ struct ec_keypair { } // namespace eoskeygen -#endif /* EC_TYPES_H */ +#endif /* EOSIOKEYGEN_EC_TYPES_H */ diff --git a/src/key_search.h b/src/key_search.h index c1210ea..78de4d6 100644 --- a/src/key_search.h +++ b/src/key_search.h @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef KEY_SEARCH_H -#define KEY_SEARCH_H +#ifndef EOSIOKEYGEN_KEY_SEARCH_H +#define EOSIOKEYGEN_KEY_SEARCH_H #include "string.h" @@ -71,4 +71,4 @@ protected : } // namespace eoskeygen -#endif /* KEY_SEARCH_H */ +#endif /* EOSIOKEYGEN_KEY_SEARCH_H */ diff --git a/src/key_search_helpers.h b/src/key_search_helpers.h index c688421..5e8ff39 100644 --- a/src/key_search_helpers.h +++ b/src/key_search_helpers.h @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef KEY_SEARCH_HELPSER_H -#define KEY_SEARCH_HELPERS_H +#ifndef EOSIOKEYGEN_KEY_SEARCH_HELPSER_H +#define EOSIOKEYGEN_KEY_SEARCH_HELPERS_H #include "string.h" #include "ec/types.h" @@ -42,4 +42,4 @@ bool key_contains_word(const struct ec_keypair* key, const strlist_t& word_list, } // namespace eoskeygen -#endif /* KEY_SEARCH_HELPERS_H */ +#endif /* EOSIOKEYGEN_KEY_SEARCH_HELPERS_H */ diff --git a/src/string.h b/src/string.h index a0b07fc..52313a0 100644 --- a/src/string.h +++ b/src/string.h @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef STRING_H -#define STRING_H +#ifndef EOSIOKEYGEN_STRING_H +#define EOSIOKEYGEN_STRING_H #include #include @@ -50,4 +50,4 @@ strlist_t l33twords(std::string str); } // namespace eoskeygen -#endif /* STRING_H */ +#endif /* EOSIOKEYGEN_STRING_H */