Move struct timveval from include/time.h to include/sys/time.h where it belongs.

This commit is contained in:
Gregory Nutt
2015-02-15 13:00:44 -06:00
parent caa94975a9
commit fd8d374bfe
6 changed files with 49 additions and 34 deletions
+7 -1
View File
@@ -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).