about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-08-18 01:18:34 +0000
committerUlrich Drepper <drepper@redhat.com>1999-08-18 01:18:34 +0000
commit7707af891e521bc7c77db974bfdbeacd85ee5269 (patch)
treef1b7544e37ae019cb22768df5292e8740dd74618 /sysdeps
parent56c55d5d4a8ef51ef424cbfcb9eca2b2fa95e419 (diff)
downloadglibc-7707af891e521bc7c77db974bfdbeacd85ee5269.tar.gz
glibc-7707af891e521bc7c77db974bfdbeacd85ee5269.tar.xz
glibc-7707af891e521bc7c77db974bfdbeacd85ee5269.zip
Update.
	* posix/sys/types.h: Define type useconds_t if not done already.
	* posix/unistd.h: Likewise.  Use this in ualarm and usleep
	declarations.
	* sysdeps/generic/bits/types.h: Define type __useconds_t.
	* sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
	* sysdeps/unix/sysv/linux/bits/types.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
	* sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/bits/types.h1
-rw-r--r--sysdeps/unix/sysv/linux/alpha/bits/types.h1
-rw-r--r--sysdeps/unix/sysv/linux/bits/types.h1
-rw-r--r--sysdeps/unix/sysv/linux/mips/bits/types.h1
-rw-r--r--sysdeps/unix/sysv/linux/sparc/bits/types.h1
-rw-r--r--sysdeps/unix/sysv/sysv4/solaris2/bits/types.h1
6 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/generic/bits/types.h b/sysdeps/generic/bits/types.h
index ecf86cef95..919e703cae 100644
--- a/sysdeps/generic/bits/types.h
+++ b/sysdeps/generic/bits/types.h
@@ -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 int __useconds_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 */
diff --git a/sysdeps/unix/sysv/linux/alpha/bits/types.h b/sysdeps/unix/sysv/linux/alpha/bits/types.h
index 91b49a2fcc..096d92050c 100644
--- a/sysdeps/unix/sysv/linux/alpha/bits/types.h
+++ b/sysdeps/unix/sysv/linux/alpha/bits/types.h
@@ -76,6 +76,7 @@ typedef struct
 typedef int __daddr_t;			/* Type of a disk address.  */
 typedef char *__caddr_t;		/* Type of a core address.  */
 typedef long int __time_t;
+typedef int __useconds_t;
 typedef long int __suseconds_t;
 typedef long int __swblk_t;		/* Type of a swap block maybe?  */
 typedef long int __clock_t;
diff --git a/sysdeps/unix/sysv/linux/bits/types.h b/sysdeps/unix/sysv/linux/bits/types.h
index a33b0369ca..0ff0cc58fa 100644
--- a/sysdeps/unix/sysv/linux/bits/types.h
+++ b/sysdeps/unix/sysv/linux/bits/types.h
@@ -82,6 +82,7 @@ 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 int __useconds_t;
 typedef long int __swblk_t;		/* Type of a swap block maybe?  */
 
 typedef long int __clock_t;
diff --git a/sysdeps/unix/sysv/linux/mips/bits/types.h b/sysdeps/unix/sysv/linux/mips/bits/types.h
index 4b63cf82f4..e1c436f319 100644
--- a/sysdeps/unix/sysv/linux/mips/bits/types.h
+++ b/sysdeps/unix/sysv/linux/mips/bits/types.h
@@ -82,6 +82,7 @@ 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 int __useconds_t;
 typedef long int __swblk_t;		/* Type of a swap block maybe?  */
 
 typedef long int __clock_t;
diff --git a/sysdeps/unix/sysv/linux/sparc/bits/types.h b/sysdeps/unix/sysv/linux/sparc/bits/types.h
index ac7c0e672b..960594fb59 100644
--- a/sysdeps/unix/sysv/linux/sparc/bits/types.h
+++ b/sysdeps/unix/sysv/linux/sparc/bits/types.h
@@ -98,6 +98,7 @@ typedef struct
 typedef int __daddr_t;			/* The type of a disk address.  */
 typedef char *__caddr_t;
 typedef long int __time_t;
+typedef int __useconds_t;
 typedef int __suseconds_t;
 typedef long int __swblk_t;		/* Type of a swap block maybe?  */
 
diff --git a/sysdeps/unix/sysv/sysv4/solaris2/bits/types.h b/sysdeps/unix/sysv/sysv4/solaris2/bits/types.h
index b2eace3f54..ec1142c75f 100644
--- a/sysdeps/unix/sysv/sysv4/solaris2/bits/types.h
+++ b/sysdeps/unix/sysv/sysv4/solaris2/bits/types.h
@@ -79,6 +79,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 int __useconds_t;
 typedef int __suseconds_t;
 typedef long int __swblk_t;	     /* Type of a swap block maybe?  */
 typedef int __key_t;		     /* Type of an IPC key */