summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/ChangeLog6
-rw-r--r--cpukit/score/include/rtems/score/object.h7
-rw-r--r--cpukit/score/src/objectclearname.c2
-rw-r--r--cpukit/score/src/objectcopynamestring.c3
4 files changed, 13 insertions, 5 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index b825b7d90a..1feb6f5533 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,11 @@
2004-11-22 Joel Sherrill <joel@OARcorp.com>
+ * score/include/rtems/score/object.h, score/src/objectclearname.c,
+ score/src/objectcopynamestring.c: Fixing warning led to making
+ changes to multiple prototypes for object support routines.
+
+2004-11-22 Joel Sherrill <joel@OARcorp.com>
+
* libcsupport/src/ttyname_r.c: Remove warning for using _fstat.
2004-11-22 Ralf Corsepius <ralf.corsepius@rtems.org>
diff --git a/cpukit/score/include/rtems/score/object.h b/cpukit/score/include/rtems/score/object.h
index 17cb349304..1be8f214d7 100644
--- a/cpukit/score/include/rtems/score/object.h
+++ b/cpukit/score/include/rtems/score/object.h
@@ -57,7 +57,7 @@ typedef void * Objects_Name;
typedef boolean (*Objects_Name_comparators)(
void * /* name_1 */,
void * /* name_2 */,
- uint32_t /* length */
+ uint16_t /* length */
);
#if defined(RTEMS_USE_16_BIT_OBJECT)
@@ -410,7 +410,7 @@ void _Objects_Free(
void _Objects_Clear_name(
void *name,
- uint32_t length
+ uint16_t length
);
/*
@@ -423,7 +423,8 @@ void _Objects_Clear_name(
void _Objects_Copy_name_string(
void *source,
- void *destination
+ void *destination,
+ uint16_t length
);
/*
diff --git a/cpukit/score/src/objectclearname.c b/cpukit/score/src/objectclearname.c
index 4ba3514f84..6c6a54404e 100644
--- a/cpukit/score/src/objectclearname.c
+++ b/cpukit/score/src/objectclearname.c
@@ -34,7 +34,7 @@
void _Objects_Clear_name(
void *name,
- uint32_t length
+ uint16_t length
)
{
uint32_t index;
diff --git a/cpukit/score/src/objectcopynamestring.c b/cpukit/score/src/objectcopynamestring.c
index 3969d09c67..d77092b1a9 100644
--- a/cpukit/score/src/objectcopynamestring.c
+++ b/cpukit/score/src/objectcopynamestring.c
@@ -33,7 +33,8 @@
void _Objects_Copy_name_string(
void *source,
- void *destination
+ void *destination,
+ uint16_t length
)
{
uint8_t *source_p = (uint8_t *) source;