From c1ed7a3c15285c44a71ba90c6778697c368dea42 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 8 Oct 2014 09:23:39 -0500 Subject: cpukit/score/src/ts64*: Return a value from non-void function --- cpukit/score/src/ts64equalto.c | 2 +- cpukit/score/src/ts64getnanoseconds.c | 2 +- cpukit/score/src/ts64getseconds.c | 2 +- cpukit/score/src/ts64lessthan.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cpukit/score/src/ts64equalto.c b/cpukit/score/src/ts64equalto.c index 28c6fa4dfe..fd07474762 100644 --- a/cpukit/score/src/ts64equalto.c +++ b/cpukit/score/src/ts64equalto.c @@ -26,6 +26,6 @@ bool _Timestamp64_Equal_to( const Timestamp64_Control *_rhs ) { - _Timestamp64_implementation_Equal_to( _lhs, _rhs ); + return _Timestamp64_implementation_Equal_to( _lhs, _rhs ); } #endif diff --git a/cpukit/score/src/ts64getnanoseconds.c b/cpukit/score/src/ts64getnanoseconds.c index 65a0b624b1..a5da43b1f1 100644 --- a/cpukit/score/src/ts64getnanoseconds.c +++ b/cpukit/score/src/ts64getnanoseconds.c @@ -25,6 +25,6 @@ uint32_t _Timestamp64_Get_nanoseconds( const Timestamp64_Control *_time ) { - _Timestamp64_implementation_Get_nanoseconds( _time ); + return _Timestamp64_implementation_Get_nanoseconds( _time ); } #endif diff --git a/cpukit/score/src/ts64getseconds.c b/cpukit/score/src/ts64getseconds.c index 0f102bc262..eca0536e0e 100644 --- a/cpukit/score/src/ts64getseconds.c +++ b/cpukit/score/src/ts64getseconds.c @@ -25,6 +25,6 @@ uint32_t _Timestamp64_Get_seconds( const Timestamp64_Control *_time ) { - _Timestamp64_implementation_Get_seconds( _time ); + return _Timestamp64_implementation_Get_seconds( _time ); } #endif diff --git a/cpukit/score/src/ts64lessthan.c b/cpukit/score/src/ts64lessthan.c index 5c518c0d85..d1478147dc 100644 --- a/cpukit/score/src/ts64lessthan.c +++ b/cpukit/score/src/ts64lessthan.c @@ -26,6 +26,6 @@ bool _Timestamp64_Less_than( const Timestamp64_Control *_rhs ) { - _Timestamp64_implementation_Less_than( _lhs, _rhs ); + return _Timestamp64_implementation_Less_than( _lhs, _rhs ); } #endif -- cgit v1.2.3