summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/clockset.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/rtems/src/clockset.c')
-rw-r--r--cpukit/rtems/src/clockset.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/rtems/src/clockset.c b/cpukit/rtems/src/clockset.c
index a4a3cd1507..7a085ada69 100644
--- a/cpukit/rtems/src/clockset.c
+++ b/cpukit/rtems/src/clockset.c
@@ -21,6 +21,7 @@
#endif
#include <rtems/rtems/clockimpl.h>
+#include <rtems/rtems/statusimpl.h>
#include <rtems/score/todimpl.h>
#include <rtems/config.h>
@@ -46,7 +47,7 @@ rtems_status_code rtems_clock_set(
status = _TOD_Set( &tod_as_timespec, &lock_context );
_TOD_Unlock();
- return STATUS_GET_CLASSIC( status );
+ return _Status_Get( status );
}
return RTEMS_INVALID_CLOCK;