forked from Imagelibrary/rtems
2000-11-30 Joel Sherrill <joel@OARcorp.com>
* inline/rtems/posix/mqueue.inl: Removed explicit dependency on abs().
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2000-11-30 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
|
* inline/rtems/posix/mqueue.inl: Removed explicit dependency on abs().
|
||||||
|
|
||||||
2000-11-27 Joel Sherrill <joel@OARcorp.com>
|
2000-11-27 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
* src/sysconf.c: Add support for _SC_CLK_TCK and _SC_OPEN_MAX.
|
* src/sysconf.c: Add support for _SC_CLK_TCK and _SC_OPEN_MAX.
|
||||||
|
|||||||
@@ -102,7 +102,8 @@ RTEMS_INLINE_ROUTINE unsigned int _POSIX_Message_queue_Priority_from_core(
|
|||||||
CORE_message_queue_Submit_types priority
|
CORE_message_queue_Submit_types priority
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return abs( priority );
|
/* absolute value without a library dependency */
|
||||||
|
return ((priority >= 0) ? priority : -priority);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
2000-11-30 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
|
* inline/rtems/posix/mqueue.inl: Removed explicit dependency on abs().
|
||||||
|
|
||||||
2000-11-27 Joel Sherrill <joel@OARcorp.com>
|
2000-11-27 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
* src/sysconf.c: Add support for _SC_CLK_TCK and _SC_OPEN_MAX.
|
* src/sysconf.c: Add support for _SC_CLK_TCK and _SC_OPEN_MAX.
|
||||||
|
|||||||
@@ -102,7 +102,8 @@ RTEMS_INLINE_ROUTINE unsigned int _POSIX_Message_queue_Priority_from_core(
|
|||||||
CORE_message_queue_Submit_types priority
|
CORE_message_queue_Submit_types priority
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return abs( priority );
|
/* absolute value without a library dependency */
|
||||||
|
return ((priority >= 0) ? priority : -priority);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user