diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-04-21 18:24:53 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-04-21 18:24:53 +0000 |
commit | 41a3975907cfb52ee62199ae8fc287164e2f1cb5 (patch) | |
tree | 662cbf01c8d4c95837931175decb1241b4a59931 | |
parent | 71eea58162a1122706038afdfd59762a3e8abbe2 (diff) | |
download | glibc-41a3975907cfb52ee62199ae8fc287164e2f1cb5.tar.gz |
[BZ #2534, BZ #2535]
* posix/regex.h: Remove obsolete <sys/types.h> and special
handling for VMS.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | posix/regex.h | 11 |
2 files changed, 5 insertions, 10 deletions
@@ -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. diff --git a/posix/regex.h b/posix/regex.h index f6c145d209..d787b9bff9 100644 --- a/posix/regex.h +++ b/posix/regex.h @@ -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 |