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
@@ -13,7 +13,7 @@
"clock_gettime","time.h","","int","clockid_t","struct timespec*"
"clock_nanosleep","time.h","!defined(CONFIG_DISABLE_SIGNALS)","int","clockid_t","int","FAR const struct timespec *", "FAR struct timespec*"
"clock_settime","time.h","","int","clockid_t","const struct timespec*"
"clock_systimer","nuttx/clock.h","!defined(__HAVE_KERNEL_GLOBALS)","systime_t"
"clock_systimer","nuttx/clock.h","!defined(__HAVE_KERNEL_GLOBALS)","clock_t"
"close","unistd.h","CONFIG_NSOCKET_DESCRIPTORS > 0 || CONFIG_NFILE_DESCRIPTORS > 0","int","int"
"closedir","dirent.h","CONFIG_NFILE_DESCRIPTORS > 0","int","FAR DIR*"
"connect","sys/socket.h","CONFIG_NSOCKET_DESCRIPTORS > 0 && defined(CONFIG_NET)","int","int","FAR const struct sockaddr*","socklen_t"
1 _exit unistd.h void int
13 clock_gettime time.h int clockid_t
14 clock_nanosleep time.h !defined(CONFIG_DISABLE_SIGNALS) int clockid_t
15 clock_settime time.h int clockid_t
16 clock_systimer nuttx/clock.h !defined(__HAVE_KERNEL_GLOBALS) systime_t clock_t
17 close unistd.h CONFIG_NSOCKET_DESCRIPTORS > 0 || CONFIG_NFILE_DESCRIPTORS > 0 int int
18 closedir dirent.h CONFIG_NFILE_DESCRIPTORS > 0 int FAR DIR*
19 connect sys/socket.h CONFIG_NSOCKET_DESCRIPTORS > 0 && defined(CONFIG_NET) int int
+1 -1
View File
@@ -74,7 +74,7 @@
*
****************************************************************************/
systime_t syscall_clock_systimer(void)
clock_t syscall_clock_systimer(void)
{
return clock_systimer();
}
+1 -1
View File
@@ -100,7 +100,7 @@
* have an address that can be included in the g_funclookup[] table.
*/
systime_t syscall_clock_systimer(void);
clock_t syscall_clock_systimer(void);
/****************************************************************************
* Pre-processor Definitions