]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Sync regex.h from Gnulib
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 5 Aug 2020 06:24:03 +0000 (23:24 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 5 Aug 2020 06:24:03 +0000 (23:24 -0700)
* posix/regex.h: Remove an ‘#ifndef _CRAY’ that hasn’t been needed
for years in Gnulib (and was needed only because of Gnulib).

posix/regex.h

index 87cce7f5cb8cc3b678467329b479bd511e250e61..5fe41c86853fc2866d9dbd05670bac8b4895fa98 100644 (file)
@@ -600,11 +600,9 @@ extern void re_set_registers (struct re_pattern_buffer *__buffer,
 #endif /* Use GNU */
 
 #if defined _REGEX_RE_COMP || (defined _LIBC && defined __USE_MISC)
-# ifndef _CRAY
 /* 4.2 bsd compatibility.  */
 extern char *re_comp (const char *);
 extern int re_exec (const char *);
-# endif
 #endif
 
 /* For plain 'restrict', use glibc's __restrict if defined.