Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
tcg/tcg-op.h: Add multiple include guard
Browse files Browse the repository at this point in the history
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 <peter.maydell@linaro.org>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20181108125256.30986-1-peter.maydell@linaro.org
  • Loading branch information
pm215 committed Nov 8, 2018
1 parent 7360be8 commit a7ce790
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tcg/tcg-op.h
Expand Up @@ -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"
Expand Down Expand Up @@ -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 */

0 comments on commit a7ce790

Please sign in to comment.