]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
sim: common: standardize multiple include defines
authorMike Frysinger <vapier@gentoo.org>
Sat, 20 Jun 2015 03:46:10 +0000 (09:31 +0545)
committerMike Frysinger <vapier@gentoo.org>
Sun, 21 Jun 2015 17:33:27 +0000 (13:33 -0400)
We use SIM_xxx_H in most headers, so convert _SIM_xxx_H_ over to it.

sim/common/ChangeLog
sim/common/sim-alu.h
sim/common/sim-assert.h
sim/common/sim-basics.h
sim/common/sim-bits.h
sim/common/sim-endian.h

index ecbaad17458ecd369a0b37a6154f83b67a4bea5e..dcaa2409d2e6b563fa6cf262fb75acd3c04434b1 100644 (file)
@@ -1,3 +1,16 @@
+2015-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-alu.h (_SIM_ALU_H_): Rename to ...
+       (SIM_ALU_H): ... this.
+       * sim-assert.h (_SIM_ASSERT_H_): Rename to ...
+       (SIM_ASSERT_H): ... this.
+       * sim-basics.h (_SIM_BASICS_H_): Rename to ...
+       (SIM_BASICS_H): ... this.
+       * sim-bits.h (_SIM_BITS_H_): Rename to ...
+       (SIM_BITS_H): ... this.
+       * sim-endian.h (_SIM_ENDIAN_H_): Rename to ...
+       (SIM_ENDIAN_H): ... this.
+
 2015-06-18  Mike Frysinger  <vapier@gentoo.org>
 
        * sim-syscall.c (sim_syscall_multi): Change unknown_syscall to a
index c78b473525e258b022ee1619ac8c5e176435688b..0cd5aad0b41503e7de2499937ff8ae199debd23c 100644 (file)
@@ -20,8 +20,8 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 
-#ifndef _SIM_ALU_H_
-#define _SIM_ALU_H_
+#ifndef SIM_ALU_H
+#define SIM_ALU_H
 
 #include "symcat.h"
 
index eaaf79194808793f7d35c472d2deaedceb42e6d2..e7ccd52e34e984306f3341437e150f5abd4a1b70 100644 (file)
@@ -18,8 +18,8 @@
     */
 
 
-#ifndef _SIM_ASSERT_H_
-#define _SIM_ASSERT_H_
+#ifndef SIM_ASSERT_H
+#define SIM_ASSERT_H
 
 #define SIM_FILTER_PATH(FILE, PATH) \
 do \
index 2730569b47d581f949918f8d86b76753e3135ab8..1d9c99cc036dfbd41684d3a03655eac48fe1ef8d 100644 (file)
@@ -20,8 +20,8 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 
-#ifndef _SIM_BASICS_H_
-#define _SIM_BASICS_H_
+#ifndef SIM_BASICS_H
+#define SIM_BASICS_H
 
 
 /* Basic configuration */
@@ -146,4 +146,4 @@ typedef enum {
    weight objects, such as core and events, are defined in the more
    serious sim-base.h header. */
 
-#endif /* _SIM_BASICS_H_ */
+#endif /* SIM_BASICS_H */
index a742e6de9f11cdc6d6484e1018f12db44f72f9ab..fb6a8218d67594a13ce24f065733e178a7ca90dd 100644 (file)
@@ -20,8 +20,8 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 
-#ifndef _SIM_BITS_H_
-#define _SIM_BITS_H_
+#ifndef SIM_BITS_H
+#define SIM_BITS_H
 
 
 /* Bit manipulation routines:
@@ -605,4 +605,4 @@ INLINE_SIM_BITS(unsigned_word) MSSEXT (signed_word val, int sign_bit);
 #include "sim-bits.c"
 #endif
 
-#endif /* _SIM_BITS_H_ */
+#endif /* SIM_BITS_H */
index 442e4010f67ee3a7c1650db4951090c32beea6c1..e8c18602866f88ecdbdaf979d6fa1c2de0ba752d 100644 (file)
@@ -20,8 +20,8 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 
-#ifndef _SIM_ENDIAN_H_
-#define _SIM_ENDIAN_H_
+#ifndef SIM_ENDIAN_H
+#define SIM_ENDIAN_H
 
 
 /* C byte conversion functions */
@@ -411,4 +411,4 @@ do { \
 #include "sim-endian.c"
 #endif
 
-#endif /* _SIM_ENDIAN_H_ */
+#endif /* SIM_ENDIAN_H */