From a7ce790a029bd94eb320d8c69f38900f5233997e Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Thu, 8 Nov 2018 12:52:56 +0000 Subject: [PATCH] tcg/tcg-op.h: Add multiple include guard MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The tcg-op.h header was missing the usual guard against multiple inclusion; add it. (Spotted by lgtm.com's static analyzer.) Signed-off-by: Peter Maydell Reviewed-by: Marc-André Lureau Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Tested-by: Philippe Mathieu-Daudé Message-id: 20181108125256.30986-1-peter.maydell@linaro.org --- tcg/tcg-op.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tcg/tcg-op.h b/tcg/tcg-op.h index 7513c1eb7c..db4e9188f4 100644 --- a/tcg/tcg-op.h +++ b/tcg/tcg-op.h @@ -22,6 +22,9 @@ * THE SOFTWARE. */ +#ifndef TCG_TCG_OP_H +#define TCG_TCG_OP_H + #include "tcg.h" #include "exec/helper-proto.h" #include "exec/helper-gen.h" @@ -1267,3 +1270,5 @@ static inline void tcg_gen_trunc_ptr_i32(TCGv_i32 r, TCGv_ptr a) #undef PTR #undef NAT + +#endif /* TCG_TCG_OP_H */ -- GitLab