diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-08-03 13:02:58 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-08-05 09:30:37 +0200 |
commit | 60fe374247eba365afb7f1a7055298af575434c7 (patch) | |
tree | c3323eaf5c6939c5c9e4fd64671a443dcd521150 /cpukit/posix/src/key.c | |
parent | Add and use RTEMS_CONTAINER_OF() (diff) | |
download | rtems-60fe374247eba365afb7f1a7055298af575434c7.tar.bz2 |
rbtree: Add and use RBTree_Compare_result
Diffstat (limited to 'cpukit/posix/src/key.c')
-rw-r--r-- | cpukit/posix/src/key.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/posix/src/key.c b/cpukit/posix/src/key.c index e231299c22..67c6e27bc5 100644 --- a/cpukit/posix/src/key.c +++ b/cpukit/posix/src/key.c @@ -44,7 +44,7 @@ RBTREE_DEFINE_EMPTY( _POSIX_Keys_Key_value_lookup_tree ); * impossible */ -int _POSIX_Keys_Key_value_compare( +RBTree_Compare_result _POSIX_Keys_Key_value_compare( const RBTree_Node *node1, const RBTree_Node *node2 ) @@ -52,7 +52,7 @@ int _POSIX_Keys_Key_value_compare( POSIX_Keys_Key_value_pair *n1; POSIX_Keys_Key_value_pair *n2; Objects_Id thread_id1, thread_id2; - int diff; + RBTree_Compare_result diff; n1 = POSIX_KEYS_RBTREE_NODE_TO_KEY_VALUE_PAIR( node1 ); n2 = POSIX_KEYS_RBTREE_NODE_TO_KEY_VALUE_PAIR( node2 ); |