summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/m32r
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2010-07-16 08:46:29 +0000
committerSebastian Huber <sebastian.huber@embedded-brains.de>2010-07-16 08:46:29 +0000
commit89b85e510043235a115fe02b4ea97712a23cfd2b (patch)
treec090ddb62e7481e69514fa7f067ee40b29ab7ac3 /cpukit/score/cpu/m32r
parent2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff)
downloadrtems-89b85e510043235a115fe02b4ea97712a23cfd2b.tar.bz2
2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtems/score/cpu.h: Include <rtems/score/types.h> first. * rtems/score/types.h: Use <rtems/score/basedefs.h> header file.
Diffstat (limited to 'cpukit/score/cpu/m32r')
-rw-r--r--cpukit/score/cpu/m32r/ChangeLog5
-rw-r--r--cpukit/score/cpu/m32r/rtems/score/cpu.h4
-rw-r--r--cpukit/score/cpu/m32r/rtems/score/types.h5
3 files changed, 8 insertions, 6 deletions
diff --git a/cpukit/score/cpu/m32r/ChangeLog b/cpukit/score/cpu/m32r/ChangeLog
index a72d0fdcba..e2a5bf9842 100644
--- a/cpukit/score/cpu/m32r/ChangeLog
+++ b/cpukit/score/cpu/m32r/ChangeLog
@@ -1,3 +1,8 @@
+2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+ * rtems/score/cpu.h: Include <rtems/score/types.h> first.
+ * rtems/score/types.h: Use <rtems/score/basedefs.h> header file.
+
2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit
diff --git a/cpukit/score/cpu/m32r/rtems/score/cpu.h b/cpukit/score/cpu/m32r/rtems/score/cpu.h
index e518cd8f75..b56953c9e6 100644
--- a/cpukit/score/cpu/m32r/rtems/score/cpu.h
+++ b/cpukit/score/cpu/m32r/rtems/score/cpu.h
@@ -37,10 +37,8 @@
extern "C" {
#endif
-#include <rtems/score/m32r.h> /* pick up machine definitions */
-#ifndef ASM
#include <rtems/score/types.h>
-#endif
+#include <rtems/score/m32r.h>
/* conditional compilation parameters */
diff --git a/cpukit/score/cpu/m32r/rtems/score/types.h b/cpukit/score/cpu/m32r/rtems/score/types.h
index e38e136c53..f435157466 100644
--- a/cpukit/score/cpu/m32r/rtems/score/types.h
+++ b/cpukit/score/cpu/m32r/rtems/score/types.h
@@ -19,10 +19,9 @@
#ifndef _RTEMS_SCORE_TYPES_H
#define _RTEMS_SCORE_TYPES_H
-#ifndef ASM
+#include <rtems/score/basedefs.h>
-#include <stdbool.h>
-#include <stdint.h>
+#ifndef ASM
#ifdef __cplusplus
extern "C" {