diff options
author | Markus Armbruster <armbru@redhat.com> | 2019-03-15 15:51:21 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2019-05-13 08:58:55 +0200 |
commit | a8b991b52dcde75ab5065046653626951aac666d (patch) | |
tree | eaa9e5fcc4375961dc9db3eb84ed7a50e9b05f68 /target/riscv | |
parent | 58ea30f5145fc8c7ebb80ee0b0c812a3a958c762 (diff) | |
download | qemu-a8b991b52dcde75ab5065046653626951aac666d.zip |
Clean up ill-advised or unusual header guards
Leading underscores are ill-advised because such identifiers are
reserved. Trailing underscores are merely ugly. Strip both.
Our header guards commonly end in _H. Normalize the exceptions.
Done with scripts/clean-header-guards.pl.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190315145123.28030-7-armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
[Changes to slirp/ dropped, as we're about to spin it off]
Diffstat (limited to 'target/riscv')
-rw-r--r-- | target/riscv/pmp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/riscv/pmp.h b/target/riscv/pmp.h index e3953c885f..66790950eb 100644 --- a/target/riscv/pmp.h +++ b/target/riscv/pmp.h @@ -19,8 +19,8 @@ * this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef _RISCV_PMP_H_ -#define _RISCV_PMP_H_ +#ifndef RISCV_PMP_H +#define RISCV_PMP_H typedef enum { PMP_READ = 1 << 0, |