caveat: introduce header guards
[cavatools.git] / caveat / sim_body.h
index 686713f252cc83398df36f37f576c9cabafb2340..6d2d7ed17bd0371fe6d61cf8d8ed20646f3028a7 100644 (file)
@@ -1,9 +1,6 @@
 // See LICENSE for license details.
 
-
-#ifndef SIM_BODY_H
-#define SIM_BODY_H
-
+#pragma once
 
 #define  IR(rn)  cpu->reg[rn]
 #define  FR(rn)  cpu->reg[rn]
@@ -114,6 +111,3 @@ inline float64_t NF64(int rn)  { float64_t x=F64(rn); x.v^=F64_SIGN; return x; }
   cpu->pc = PC;  // program counter cached in register
   cpu->counter.insn_executed += max_count-countdown;
 }
-
-
-#endif