* posix/regex.h: Remove obsolete <sys/types.h> and special
	handling for VMS.
This commit is contained in:
Ulrich Drepper 2006-04-21 18:24:53 +00:00
parent 71eea58162
commit 41a3975907
2 changed files with 5 additions and 10 deletions

View File

@ -1,5 +1,9 @@
2006-04-21 Ulrich Drepper <drepper@redhat.com>
[BZ #2534, BZ #2535]
* posix/regex.h: Remove obsolete <sys/types.h> and special
handling for VMS.
* iconvdata/ibm437.c: Define HAS_HOLES to 0.
* iconvdata/ibm861.c: Likewise.
* iconvdata/ibm862.c: Likewise.

View File

@ -1,6 +1,6 @@
/* Definitions for data structures and routines for the regular
expression library.
Copyright (C) 1985,1989-93,1995-98,2000,2001,2002,2003,2005
Copyright (C) 1985,1989-93,1995-98,2000,2001,2002,2003,2005,2006
Free Software Foundation, Inc.
This file is part of the GNU C Library.
@ -29,15 +29,6 @@
extern "C" {
#endif
/* POSIX says that <sys/types.h> must be included (by the caller) before
<regex.h>. */
#if !defined _POSIX_C_SOURCE && !defined _POSIX_SOURCE && defined VMS
/* VMS doesn't have `size_t' in <sys/types.h>, even though POSIX says it
should be there. */
# include <stddef.h>
#endif
/* The following two types have to be signed and unsigned integer type
wide enough to hold a value of a pointer. For most ANSI compilers
ptrdiff_t and size_t should be likely OK. Still size of these two