mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 06:39:01 +08:00
Move struct timveval from include/time.h to include/sys/time.h where it belongs.
This commit is contained in:
+7
-1
@@ -51,7 +51,13 @@
|
||||
/****************************************************************************
|
||||
* Public Type Definitions
|
||||
****************************************************************************/
|
||||
/* struct timeval is defined in time.h */
|
||||
/* struct timeval represents time as seconds plus microseconds */
|
||||
|
||||
struct timeval
|
||||
{
|
||||
time_t tv_sec; /* Seconds */
|
||||
long tv_usec; /* Microseconds */
|
||||
};
|
||||
|
||||
/* The use of the struct timezone is obsolete; the tz argument should
|
||||
* normally be specified as NULL (and is ignored in any event).
|
||||
|
||||
Reference in New Issue
Block a user