summaryrefslogtreecommitdiffstats
path: root/c/src/exec/rtems
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-09-06 15:16:19 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-09-06 15:16:19 +0000
commit7fea679b6f4c376cf068eaee987d3ff4e415b23e (patch)
treebbcdc26257c60b66b264d7b143692104fe4b6757 /c/src/exec/rtems
parentdefault thread attributes: default value for inheritsched changed from (diff)
downloadrtems-7fea679b6f4c376cf068eaee987d3ff4e415b23e.tar.bz2
changed _TOD_Is_set from a function to a boolean variable
Diffstat (limited to 'c/src/exec/rtems')
-rw-r--r--c/src/exec/rtems/src/clock.c6
-rw-r--r--c/src/exec/rtems/src/rtclock.c6
-rw-r--r--c/src/exec/rtems/src/rtemstimer.c2
-rw-r--r--c/src/exec/rtems/src/tasks.c2
-rw-r--r--c/src/exec/rtems/src/timer.c2
5 files changed, 9 insertions, 9 deletions
diff --git a/c/src/exec/rtems/src/clock.c b/c/src/exec/rtems/src/clock.c
index f73401809c..4b7b5f5b31 100644
--- a/c/src/exec/rtems/src/clock.c
+++ b/c/src/exec/rtems/src/clock.c
@@ -48,14 +48,14 @@ rtems_status_code rtems_clock_get(
switch ( option ) {
case RTEMS_CLOCK_GET_TOD:
- if ( !_TOD_Is_set() )
+ if ( !_TOD_Is_set )
return RTEMS_NOT_DEFINED;
*(rtems_time_of_day *)time_buffer = _TOD_Current;
return RTEMS_SUCCESSFUL;
case RTEMS_CLOCK_GET_SECONDS_SINCE_EPOCH:
- if ( !_TOD_Is_set() )
+ if ( !_TOD_Is_set )
return RTEMS_NOT_DEFINED;
*(rtems_interval *)time_buffer = _TOD_Seconds_since_epoch;
@@ -70,7 +70,7 @@ rtems_status_code rtems_clock_get(
return RTEMS_SUCCESSFUL;
case RTEMS_CLOCK_GET_TIME_VALUE:
- if ( !_TOD_Is_set() )
+ if ( !_TOD_Is_set )
return RTEMS_NOT_DEFINED;
_ISR_Disable( level );
diff --git a/c/src/exec/rtems/src/rtclock.c b/c/src/exec/rtems/src/rtclock.c
index f73401809c..4b7b5f5b31 100644
--- a/c/src/exec/rtems/src/rtclock.c
+++ b/c/src/exec/rtems/src/rtclock.c
@@ -48,14 +48,14 @@ rtems_status_code rtems_clock_get(
switch ( option ) {
case RTEMS_CLOCK_GET_TOD:
- if ( !_TOD_Is_set() )
+ if ( !_TOD_Is_set )
return RTEMS_NOT_DEFINED;
*(rtems_time_of_day *)time_buffer = _TOD_Current;
return RTEMS_SUCCESSFUL;
case RTEMS_CLOCK_GET_SECONDS_SINCE_EPOCH:
- if ( !_TOD_Is_set() )
+ if ( !_TOD_Is_set )
return RTEMS_NOT_DEFINED;
*(rtems_interval *)time_buffer = _TOD_Seconds_since_epoch;
@@ -70,7 +70,7 @@ rtems_status_code rtems_clock_get(
return RTEMS_SUCCESSFUL;
case RTEMS_CLOCK_GET_TIME_VALUE:
- if ( !_TOD_Is_set() )
+ if ( !_TOD_Is_set )
return RTEMS_NOT_DEFINED;
_ISR_Disable( level );
diff --git a/c/src/exec/rtems/src/rtemstimer.c b/c/src/exec/rtems/src/rtemstimer.c
index 6c3005ffbe..40ee526f26 100644
--- a/c/src/exec/rtems/src/rtemstimer.c
+++ b/c/src/exec/rtems/src/rtemstimer.c
@@ -277,7 +277,7 @@ rtems_status_code rtems_timer_fire_when(
Objects_Locations location;
rtems_interval seconds;
- if ( !_TOD_Is_set() )
+ if ( !_TOD_Is_set )
return RTEMS_NOT_DEFINED;
if ( !_TOD_Validate( wall_time ) )
diff --git a/c/src/exec/rtems/src/tasks.c b/c/src/exec/rtems/src/tasks.c
index 403a26e0d4..2f78b015f4 100644
--- a/c/src/exec/rtems/src/tasks.c
+++ b/c/src/exec/rtems/src/tasks.c
@@ -1034,7 +1034,7 @@ rtems_time_of_day *time_buffer
{
Watchdog_Interval seconds;
- if ( !_TOD_Is_set() )
+ if ( !_TOD_Is_set )
return RTEMS_NOT_DEFINED;
time_buffer->ticks = 0;
diff --git a/c/src/exec/rtems/src/timer.c b/c/src/exec/rtems/src/timer.c
index 6c3005ffbe..40ee526f26 100644
--- a/c/src/exec/rtems/src/timer.c
+++ b/c/src/exec/rtems/src/timer.c
@@ -277,7 +277,7 @@ rtems_status_code rtems_timer_fire_when(
Objects_Locations location;
rtems_interval seconds;
- if ( !_TOD_Is_set() )
+ if ( !_TOD_Is_set )
return RTEMS_NOT_DEFINED;
if ( !_TOD_Validate( wall_time ) )