about summary refs log tree commit diff
path: root/sysdeps/generic/bits
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-10-23 23:48:42 +0000
committerRoland McGrath <roland@gnu.org>2002-10-23 23:48:42 +0000
commitb02c687fd362f0a517aac69f4e934d9126e4032a (patch)
treee955775233c3db6aba7ae62cb454427969c21c54 /sysdeps/generic/bits
parent4bf21f2c7164865c801c86b9ac34317b1894a7ab (diff)
downloadglibc-b02c687fd362f0a517aac69f4e934d9126e4032a.tar.gz
glibc-b02c687fd362f0a517aac69f4e934d9126e4032a.tar.xz
glibc-b02c687fd362f0a517aac69f4e934d9126e4032a.zip
2002-10-23 Roland McGrath <roland@redhat.com>
	* streams/stropts.h: Include <bits/xtitypes.h>.
	* streams/Makefile (headers): Add bits/xtitypes.h here.
	* sysdeps/generic/bits/xtitypes.h: New file.
	* sysdeps/s390/bits/xtitypes.h: New file.
	* sysdeps/ia64/bits/xtitypes.h: New file.
	* sysdeps/x86_64/bits/xtitypes.h: New file.
Diffstat (limited to 'sysdeps/generic/bits')
-rw-r--r--sysdeps/generic/bits/xtitypes.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/sysdeps/generic/bits/xtitypes.h b/sysdeps/generic/bits/xtitypes.h
new file mode 100644
index 0000000000..c21bfb036c
--- /dev/null
+++ b/sysdeps/generic/bits/xtitypes.h
@@ -0,0 +1,34 @@
+/* bits/xtitypes.h -- Define some types used by <bits/stropts.h>.  Generic.
+   Copyright (C) 2002 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
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, write to the Free
+   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+   02111-1307 USA.  */
+
+#ifndef _STROPTS_H
+# error "Never include <bits/xtitypes.h> directly; use <stropts.h> instead."
+#endif
+
+#ifndef _BITS_XTITYPES_H
+#define _BITS_XTITYPES_H	1
+
+#include <bits/types.h>
+
+/* This type is used by some structs in <bits/stropts.h>.  */
+typedef __SLONGWORD_TYPE __t_scalar_t;
+typedef __ULONGWORD_TYPE __t_uscalar_t;
+
+
+#endif /* bits/xtitypes.h */