summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c/src/exec/score/headers/object.h4
-rw-r--r--c/src/exec/score/include/rtems/score/object.h4
-rw-r--r--cpukit/score/include/rtems/score/object.h4
3 files changed, 6 insertions, 6 deletions
diff --git a/c/src/exec/score/headers/object.h b/c/src/exec/score/headers/object.h
index edd186c607..9dc53423d4 100644
--- a/c/src/exec/score/headers/object.h
+++ b/c/src/exec/score/headers/object.h
@@ -38,7 +38,7 @@ typedef void * Objects_Name;
* NOTE: Must be a power of 2. Matches the name manipulation routines.
*/
-#define OBJECTS_NAME_ALIGNMENT 4
+#define OBJECTS_NAME_ALIGNMENT sizeof( unsigned32 )
/*
* Functions which compare names are prototyped like this.
@@ -365,7 +365,7 @@ Objects_Control *_Objects_Get (
Objects_Control *_Objects_Get_next(
Objects_Information *information,
Objects_Id id,
- unsigned32 *location_p,
+ Objects_Locations *location_p,
Objects_Id *next_id_p
);
diff --git a/c/src/exec/score/include/rtems/score/object.h b/c/src/exec/score/include/rtems/score/object.h
index edd186c607..9dc53423d4 100644
--- a/c/src/exec/score/include/rtems/score/object.h
+++ b/c/src/exec/score/include/rtems/score/object.h
@@ -38,7 +38,7 @@ typedef void * Objects_Name;
* NOTE: Must be a power of 2. Matches the name manipulation routines.
*/
-#define OBJECTS_NAME_ALIGNMENT 4
+#define OBJECTS_NAME_ALIGNMENT sizeof( unsigned32 )
/*
* Functions which compare names are prototyped like this.
@@ -365,7 +365,7 @@ Objects_Control *_Objects_Get (
Objects_Control *_Objects_Get_next(
Objects_Information *information,
Objects_Id id,
- unsigned32 *location_p,
+ Objects_Locations *location_p,
Objects_Id *next_id_p
);
diff --git a/cpukit/score/include/rtems/score/object.h b/cpukit/score/include/rtems/score/object.h
index edd186c607..9dc53423d4 100644
--- a/cpukit/score/include/rtems/score/object.h
+++ b/cpukit/score/include/rtems/score/object.h
@@ -38,7 +38,7 @@ typedef void * Objects_Name;
* NOTE: Must be a power of 2. Matches the name manipulation routines.
*/
-#define OBJECTS_NAME_ALIGNMENT 4
+#define OBJECTS_NAME_ALIGNMENT sizeof( unsigned32 )
/*
* Functions which compare names are prototyped like this.
@@ -365,7 +365,7 @@ Objects_Control *_Objects_Get (
Objects_Control *_Objects_Get_next(
Objects_Information *information,
Objects_Id id,
- unsigned32 *location_p,
+ Objects_Locations *location_p,
Objects_Id *next_id_p
);