* libc/include/sys/time.h (struct timeval): Change member types
according to SUSv3. * libc/include/sys/types.h (useconds_t): Change to unsigned according to SUSv3. (suseconds_t): Define type.
This commit is contained in:
parent
00bc9d7ff2
commit
680e0f1ffd
|
@ -1,3 +1,11 @@
|
||||||
|
2006-02-15 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* libc/include/sys/time.h (struct timeval): Change member types
|
||||||
|
according to SUSv3.
|
||||||
|
* libc/include/sys/types.h (useconds_t): Change to unsigned
|
||||||
|
according to SUSv3.
|
||||||
|
(suseconds_t): Define type.
|
||||||
|
|
||||||
2006-02-13 Jeff Johnston <jjohnstn@redhat.com>
|
2006-02-13 Jeff Johnston <jjohnstn@redhat.com>
|
||||||
David Carne <davidcarne@gmail.com>
|
David Carne <davidcarne@gmail.com>
|
||||||
|
|
||||||
|
|
|
@ -14,8 +14,8 @@ extern "C" {
|
||||||
|
|
||||||
#ifndef _WINSOCK_H
|
#ifndef _WINSOCK_H
|
||||||
struct timeval {
|
struct timeval {
|
||||||
long tv_sec;
|
time_t tv_sec;
|
||||||
long tv_usec;
|
suseconds_t tv_usec;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct timezone {
|
struct timezone {
|
||||||
|
|
|
@ -262,7 +262,8 @@ typedef _TIMER_T_ timer_t;
|
||||||
#define __timer_t_defined
|
#define __timer_t_defined
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef long useconds_t;
|
typedef unsigned long useconds_t;
|
||||||
|
typedef long suseconds_t;
|
||||||
|
|
||||||
#include <sys/features.h>
|
#include <sys/features.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue