From 7009f1dda6f92b1966b86bb704f960155a38390b Mon Sep 17 00:00:00 2001 From: Jon Siwek Date: Mon, 10 Feb 2020 12:00:31 -0800 Subject: [PATCH] bifcl: Fix header include guards --- tools/bifcl/include/bif_arg.h | 5 +---- tools/bifcl/include/module_util.h | 2 ++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/tools/bifcl/include/bif_arg.h b/tools/bifcl/include/bif_arg.h index 906cfd9c6a..4edf23344a 100644 --- a/tools/bifcl/include/bif_arg.h +++ b/tools/bifcl/include/bif_arg.h @@ -1,5 +1,4 @@ -#ifndef bif_arg_h -#define bif_arg_h +#pragma once #include @@ -47,5 +46,3 @@ protected: const char* type_str; const char* attr_str; }; - -#endif diff --git a/tools/bifcl/include/module_util.h b/tools/bifcl/include/module_util.h index 8475c86f9d..fa5f24964f 100644 --- a/tools/bifcl/include/module_util.h +++ b/tools/bifcl/include/module_util.h @@ -2,6 +2,8 @@ // These functions are used by both Zeek and bifcl. // +#pragma once + #include using namespace std;