mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
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:
+1
-1
@@ -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"
|
||||
|
||||
|
@@ -74,7 +74,7 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
systime_t syscall_clock_systimer(void)
|
||||
clock_t syscall_clock_systimer(void)
|
||||
{
|
||||
return clock_systimer();
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user