From dc112f3f4162d875078ddcbdcacd98e82c66862b Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 4 Aug 2008 19:46:13 +0000 Subject: 2008-08-04 Joel Sherrill PR 1265/cpukit * score/include/rtems/score/object.h, score/src/objectallocatebyindex.c: Rename index argument to avoid warning when rtems.h and string.h are included at the same time by user code. --- cpukit/score/include/rtems/score/object.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/score/include') diff --git a/cpukit/score/include/rtems/score/object.h b/cpukit/score/include/rtems/score/object.h index da1f4406ee..b488dd6d45 100644 --- a/cpukit/score/include/rtems/score/object.h +++ b/cpukit/score/include/rtems/score/object.h @@ -535,12 +535,12 @@ Objects_Control *_Objects_Allocate( * free object control blocks. * * @param[in] information points to an object class information block. - * @param[in] index is the index of the object to allocate. + * @param[in] the_index is the index of the object to allocate. * @param[in] sizeof_control is the size of the object control block. */ Objects_Control *_Objects_Allocate_by_index( Objects_Information *information, - uint16_t index, + uint16_t the_index, uint16_t sizeof_control ); -- cgit v1.2.3