aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic/bits
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-07-17 23:20:43 +0000
committerUlrich Drepper <drepper@redhat.com>1999-07-17 23:20:43 +0000
commit57fb9b3868f8a0977ef736a535432c43fef7b6a8 (patch)
treef6ad731b8ba457ade555f5618ee2b77a4c342ad0 /sysdeps/generic/bits
parente58f1a46f4501e143e6727c419558c6bdf74e19f (diff)
downloadglibc-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/generic/bits')
-rw-r--r--sysdeps/generic/bits/time.h4
-rw-r--r--sysdeps/generic/bits/types.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/sysdeps/generic/bits/time.h b/sysdeps/generic/bits/time.h
index f608e2c996..0f202c0a67 100644
--- a/sysdeps/generic/bits/time.h
+++ b/sysdeps/generic/bits/time.h
@@ -1,5 +1,5 @@
/* System-dependent timing definitions. Stub 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
@@ -40,7 +40,7 @@
struct timeval
{
__time_t tv_sec; /* Seconds. */
- __time_t tv_usec; /* Microseconds. */
+ __suseconds_t tv_usec; /* Microseconds. */
};
# endif /* struct timeval */
#endif /* need timeval */
diff --git a/sysdeps/generic/bits/types.h b/sysdeps/generic/bits/types.h
index e34ad727a9..ecf86cef95 100644
--- a/sysdeps/generic/bits/types.h
+++ b/sysdeps/generic/bits/types.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 92, 94, 95, 96, 97, 98 Free Software Foundation, Inc.
+/* Copyright (C) 1991,92,94,95,96,97,98,99 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
@@ -80,6 +80,7 @@ typedef unsigned int __id_t; /* General type for IDs. */
typedef long 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 __key_t; /* Type of an IPC key */