Elimate use of the non-standard type systime_t and replace it the equivalent, standard type clock_t

Squashed commit of the following:

    sched:  Rename all use of system_t to clock_t.
    syscall:  Rename all use of system_t to clock_t.
    net:  Rename all use of system_t to clock_t.
    libs:  Rename all use of system_t to clock_t.
    fs:  Rename all use of system_t to clock_t.
    drivers:  Rename all use of system_t to clock_t.
    arch:  Rename all use of system_t to clock_t.
    include:  Remove definition of systime_t; rename all use of system_t to clock_t.
This commit is contained in:
Gregory Nutt
2018-06-16 12:16:13 -06:00
parent 450e0809de
commit 8fdbb1e0a4
85 changed files with 274 additions and 271 deletions
+1 -1
View File
@@ -86,7 +86,7 @@
int timer_gettime(timer_t timerid, FAR struct itimerspec *value)
{
FAR struct posix_timer_s *timer = (FAR struct posix_timer_s *)timerid;
ssystime_t ticks;
sclock_t ticks;
if (!timer || !value)
{
+4 -4
View File
@@ -305,7 +305,7 @@ int timer_settime(timer_t timerid, int flags,
{
FAR struct posix_timer_s *timer = (FAR struct posix_timer_s *)timerid;
irqstate_t intflags;
ssystime_t delay;
sclock_t delay;
int ret = OK;
/* Some sanity checks */
@@ -335,7 +335,7 @@ int timer_settime(timer_t timerid, int flags,
{
(void)clock_time2ticks(&value->it_interval, &delay);
/* REVISIT: Should pt_delay be ssystime_t? */
/* REVISIT: Should pt_delay be sclock_t? */
timer->pt_delay = (int)delay;
}
@@ -384,8 +384,8 @@ int timer_settime(timer_t timerid, int flags,
if (delay > 0)
{
/* REVISIT: Should pt_last be ssystime_t? Should wd_start delay be
* ssystime_t?
/* REVISIT: Should pt_last be sclock_t? Should wd_start delay be
* sclock_t?
*/
timer->pt_last = delay;