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
@@ -297,7 +297,7 @@ EXTERN uint8_t g_reassembly_timer;
/* Time of last poll */
EXTERN systime_t g_polltime;
EXTERN clock_t g_polltime;
/****************************************************************************
* Public Function Prototypes
+4 -4
View File
@@ -82,7 +82,7 @@ enum devif_packet_type
/* Time of last poll */
systime_t g_polltime;
clock_t g_polltime;
/****************************************************************************
* Private Functions
@@ -708,8 +708,8 @@ int devif_poll(FAR struct net_driver_s *dev, devif_poll_callback_t callback)
int devif_timer(FAR struct net_driver_s *dev, devif_poll_callback_t callback)
{
systime_t now;
systime_t elapsed;
clock_t now;
clock_t elapsed;
int bstop = false;
/* Get the elapsed time since the last poll in units of half seconds
@@ -733,7 +733,7 @@ int devif_timer(FAR struct net_driver_s *dev, devif_poll_callback_t callback)
* boundary to avoid error build-up).
*/
g_polltime += (TICK_PER_HSEC * (systime_t)hsec);
g_polltime += (TICK_PER_HSEC * (clock_t)hsec);
/* Perform periodic activitives that depend on hsec > 0 */