From 8c77209d40c5c0027041e3b6acbe55e5f7b5bbfe Mon Sep 17 00:00:00 2001 From: Andrew Ayer Date: Tue, 1 Apr 2014 16:18:28 -0700 Subject: [PATCH] Fix include guards to not start with _ Since such names are reserved, technically. --- commands.hpp | 4 ++-- crypto.hpp | 4 ++-- git-crypt.hpp | 4 ++-- gpg.hpp | 4 ++-- key.hpp | 4 ++-- util.hpp | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/commands.hpp b/commands.hpp index 9772c0d..33d674b 100644 --- a/commands.hpp +++ b/commands.hpp @@ -28,8 +28,8 @@ * as that of the covered work. */ -#ifndef _COMMANDS_H -#define _COMMANDS_H +#ifndef GIT_CRYPT_COMMANDS_HPP +#define GIT_CRYPT_COMMANDS_HPP #include diff --git a/crypto.hpp b/crypto.hpp index 69342bd..63772a1 100644 --- a/crypto.hpp +++ b/crypto.hpp @@ -28,8 +28,8 @@ * as that of the covered work. */ -#ifndef _CRYPTO_H -#define _CRYPTO_H +#ifndef GIT_CRYPT_CRYPTO_HPP +#define GIT_CRYPT_CRYPTO_HPP #include "key.hpp" #include diff --git a/git-crypt.hpp b/git-crypt.hpp index 00091d5..94b1ded 100644 --- a/git-crypt.hpp +++ b/git-crypt.hpp @@ -28,8 +28,8 @@ * as that of the covered work. */ -#ifndef _GIT_CRYPT_H -#define _GIT_CRYPT_H +#ifndef GIT_CRYPT_GIT_CRYPT_HPP +#define GIT_CRYPT_GIT_CRYPT_HPP extern const char* argv0; // initialized in main() to argv[0] diff --git a/gpg.hpp b/gpg.hpp index c2939bb..cd55171 100644 --- a/gpg.hpp +++ b/gpg.hpp @@ -28,8 +28,8 @@ * as that of the covered work. */ -#ifndef _GPG_H -#define _GPG_H +#ifndef GIT_CRYPT_GPG_HPP +#define GIT_CRYPT_GPG_HPP #include #include diff --git a/key.hpp b/key.hpp index c237d30..30a4216 100644 --- a/key.hpp +++ b/key.hpp @@ -28,8 +28,8 @@ * as that of the covered work. */ -#ifndef _KEY_H -#define _KEY_H +#ifndef GIT_CRYPT_KEY_HPP +#define GIT_CRYPT_KEY_HPP #include #include diff --git a/util.hpp b/util.hpp index 9c45095..c86e53d 100644 --- a/util.hpp +++ b/util.hpp @@ -28,8 +28,8 @@ * as that of the covered work. */ -#ifndef _UTIL_H -#define _UTIL_H +#ifndef GIT_CRYPT_UTIL_HPP +#define GIT_CRYPT_UTIL_HPP #include #include