* score/inline/rtems/score/object.inl: Use attribute unused in
	_Objects_Is_local_id().
This commit is contained in:
Sebastian Huber
2010-08-09 09:16:08 +00:00
parent 3b9d1aba5a
commit 5f1300a79e
2 changed files with 9 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2010-08-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
* score/inline/rtems/score/object.inl: Use attribute unused in
_Objects_Is_local_id().
2010-08-09 Sebastian Huber <sebastian.huber@embedded-brains.de> 2010-08-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtems/Makefile.am, rtems/preinstall.am: Install * rtems/Makefile.am, rtems/preinstall.am: Install

View File

@@ -162,7 +162,11 @@ RTEMS_INLINE_ROUTINE bool _Objects_Is_local_node(
* @note On a single processor configuration, this always returns true. * @note On a single processor configuration, this always returns true.
*/ */
RTEMS_INLINE_ROUTINE bool _Objects_Is_local_id( RTEMS_INLINE_ROUTINE bool _Objects_Is_local_id(
#if defined(RTEMS_MULTIPROCESSING)
Objects_Id id Objects_Id id
#else
Objects_Id id __attribute__((unused))
#endif
) )
{ {
#if defined(RTEMS_MULTIPROCESSING) #if defined(RTEMS_MULTIPROCESSING)