summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/inline
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-05-29 20:50:52 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-05-29 20:50:52 +0000
commit5e0efa2b3a165f7d45eda0d34dad4750f46654f2 (patch)
tree20517e69a9bf0a0d317f6c360a163cac35334fbc /cpukit/posix/inline
parentd835a35cbd6c33ca773f5a936ec2381a346ca0aa (diff)
downloadrtems-5e0efa2b3a165f7d45eda0d34dad4750f46654f2.tar.bz2
cleaned up spacing and parentheses
Diffstat (limited to 'cpukit/posix/inline')
-rw-r--r--cpukit/posix/inline/rtems/posix/priority.inl4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/posix/inline/rtems/posix/priority.inl b/cpukit/posix/inline/rtems/posix/priority.inl
index 90dfaead02..c3798ea3a8 100644
--- a/cpukit/posix/inline/rtems/posix/priority.inl
+++ b/cpukit/posix/inline/rtems/posix/priority.inl
@@ -9,14 +9,14 @@ STATIC INLINE boolean _POSIX_Priority_Is_valid(
int priority
)
{
- return (boolean) priority >= 1 && priority <= 255;
+ return (boolean) (priority >= 1 && priority <= 255);
}
STATIC INLINE Priority_Control _POSIX_Priority_To_core(
int priority
)
{
- return (Priority_Control) 256 - priority;
+ return (Priority_Control) (256 - priority);
}
STATIC INLINE int _POSIX_Priority_From_core(