mirror of
https://github.com/apache/nuttx.git
synced 2026-05-25 18:27:56 +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:
+6
-1
@@ -231,7 +231,12 @@ typedef int16_t blksize_t;
|
||||
typedef unsigned int socklen_t;
|
||||
typedef uint16_t sa_family_t;
|
||||
|
||||
/* Used for system times in clock ticks (equivalent to systime_t) */
|
||||
/* Used for system times in clock ticks. This type is the natural width of
|
||||
* the system timer.
|
||||
*
|
||||
* NOTE: The signed-ness of clock_t is not specified at OpenGroup.org. An
|
||||
* unsigned type is used to support the full range of the internal clock.
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_SYSTEM_TIME64
|
||||
typedef uint64_t clock_t;
|
||||
|
||||
Reference in New Issue
Block a user