diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-07-17 23:20:43 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-07-17 23:20:43 +0000 |
commit | 57fb9b3868f8a0977ef736a535432c43fef7b6a8 (patch) | |
tree | f6ad731b8ba457ade555f5618ee2b77a4c342ad0 /sysdeps/unix/sysv/linux/bits | |
parent | e58f1a46f4501e143e6727c419558c6bdf74e19f (diff) | |
download | glibc-57fb9b3868f8a0977ef736a535432c43fef7b6a8.tar glibc-57fb9b3868f8a0977ef736a535432c43fef7b6a8.tar.gz glibc-57fb9b3868f8a0977ef736a535432c43fef7b6a8.tar.bz2 glibc-57fb9b3868f8a0977ef736a535432c43fef7b6a8.zip |
Update.
* sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise
* sysdeps/generic/bits/time.h: Likewise.
* sysdeps/mach/hurd/bits/time.h: Likewise.
* sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
* sysdeps/generic/bits/types.h: Likewise.
* posix/sys/types.h: Define suseconds_t for X/Open.
Diffstat (limited to 'sysdeps/unix/sysv/linux/bits')
-rw-r--r-- | sysdeps/unix/sysv/linux/bits/time.h | 8 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/bits/types.h | 1 |
2 files changed, 5 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/time.h b/sysdeps/unix/sysv/linux/bits/time.h index 274d616777..4b7ef52b7a 100644 --- a/sysdeps/unix/sysv/linux/bits/time.h +++ b/sysdeps/unix/sysv/linux/bits/time.h @@ -1,5 +1,5 @@ /* System-dependent timing definitions. Linux version. - Copyright (C) 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -42,7 +42,7 @@ # endif /* bits/time.h */ #endif -#ifdef __need_timeval +#ifdef __need_timeval # undef __need_timeval # ifndef _STRUCT_TIMEVAL # define _STRUCT_TIMEVAL 1 @@ -53,7 +53,7 @@ struct timeval { __time_t tv_sec; /* Seconds. */ - __time_t tv_usec; /* Microseconds. */ + __suseconds_t tv_usec; /* Microseconds. */ }; # endif /* struct timeval */ -#endif /* need timeval */ +#endif /* need timeval */ diff --git a/sysdeps/unix/sysv/linux/bits/types.h b/sysdeps/unix/sysv/linux/bits/types.h index ccab7fb07c..a33b0369ca 100644 --- a/sysdeps/unix/sysv/linux/bits/types.h +++ b/sysdeps/unix/sysv/linux/bits/types.h @@ -81,6 +81,7 @@ typedef struct typedef int __daddr_t; /* The type of a disk address. */ typedef char *__caddr_t; typedef long int __time_t; +typedef long int __suseconds_t; typedef long int __swblk_t; /* Type of a swap block maybe? */ typedef long int __clock_t; |