summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-08 09:23:39 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-09 10:11:58 -0500
commitc1ed7a3c15285c44a71ba90c6778697c368dea42 (patch)
tree0686043a80d667ba0f2af35567bb373bd92761f7
parentsamples/base_sp: Fix printf() warning (diff)
downloadrtems-c1ed7a3c15285c44a71ba90c6778697c368dea42.tar.bz2
cpukit/score/src/ts64*: Return a value from non-void function
-rw-r--r--cpukit/score/src/ts64equalto.c2
-rw-r--r--cpukit/score/src/ts64getnanoseconds.c2
-rw-r--r--cpukit/score/src/ts64getseconds.c2
-rw-r--r--cpukit/score/src/ts64lessthan.c2
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