aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-06-20 09:31:10 +0545
committerMike Frysinger <vapier@gentoo.org>2015-06-21 13:33:27 -0400
commit618b526e31d3df71e9526a0753271624a568564e (patch)
tree46637ede081e381cdb3f4ceff69a40a7b3cf9c80 /sim
parent02db4b0a9f80505adaef9f547e8c069adfe63e36 (diff)
downloadgdb-618b526e31d3df71e9526a0753271624a568564e.zip
gdb-618b526e31d3df71e9526a0753271624a568564e.tar.gz
gdb-618b526e31d3df71e9526a0753271624a568564e.tar.bz2
sim: common: standardize multiple include defines
We use SIM_xxx_H in most headers, so convert _SIM_xxx_H_ over to it.
Diffstat (limited to 'sim')
-rw-r--r--sim/common/ChangeLog13
-rw-r--r--sim/common/sim-alu.h4
-rw-r--r--sim/common/sim-assert.h4
-rw-r--r--sim/common/sim-basics.h6
-rw-r--r--sim/common/sim-bits.h6
-rw-r--r--sim/common/sim-endian.h6
6 files changed, 26 insertions, 13 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index ecbaad1..dcaa240 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -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
diff --git a/sim/common/sim-alu.h b/sim/common/sim-alu.h
index c78b473..0cd5aad 100644
--- a/sim/common/sim-alu.h
+++ b/sim/common/sim-alu.h
@@ -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"
diff --git a/sim/common/sim-assert.h b/sim/common/sim-assert.h
index eaaf791..e7ccd52 100644
--- a/sim/common/sim-assert.h
+++ b/sim/common/sim-assert.h
@@ -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 \
diff --git a/sim/common/sim-basics.h b/sim/common/sim-basics.h
index 2730569..1d9c99c 100644
--- a/sim/common/sim-basics.h
+++ b/sim/common/sim-basics.h
@@ -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 */
diff --git a/sim/common/sim-bits.h b/sim/common/sim-bits.h
index a742e6d..fb6a821 100644
--- a/sim/common/sim-bits.h
+++ b/sim/common/sim-bits.h
@@ -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 */
diff --git a/sim/common/sim-endian.h b/sim/common/sim-endian.h
index 442e401..e8c1860 100644
--- a/sim/common/sim-endian.h
+++ b/sim/common/sim-endian.h
@@ -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 */