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
+4 -4
View File
@@ -110,7 +110,7 @@ static void uart_pollnotify(FAR uart_dev_t *dev, pollevent_t eventset);
static int uart_putxmitchar(FAR uart_dev_t *dev, int ch, bool oktoblock);
static inline ssize_t uart_irqwrite(FAR uart_dev_t *dev, FAR const char *buffer,
size_t buflen);
static int uart_tcdrain(FAR uart_dev_t *dev, systime_t timeout);
static int uart_tcdrain(FAR uart_dev_t *dev, clock_t timeout);
/* Character driver methods */
@@ -397,7 +397,7 @@ static inline ssize_t uart_irqwrite(FAR uart_dev_t *dev, FAR const char *buffer,
*
************************************************************************************/
static int uart_tcdrain(FAR uart_dev_t *dev, systime_t timeout)
static int uart_tcdrain(FAR uart_dev_t *dev, clock_t timeout)
{
int ret;
@@ -412,7 +412,7 @@ static int uart_tcdrain(FAR uart_dev_t *dev, systime_t timeout)
if (ret >= 0)
{
irqstate_t flags;
systime_t start;
clock_t start;
/* Trigger emission to flush the contents of the tx buffer */
@@ -487,7 +487,7 @@ static int uart_tcdrain(FAR uart_dev_t *dev, systime_t timeout)
{
while (!uart_txempty(dev))
{
systime_t elapsed;
clock_t elapsed;
#ifndef CONFIG_DISABLE_SIGNALS
nxsig_usleep(POLL_DELAY_USEC);