aboutsummaryrefslogtreecommitdiff
path: root/posix/regex.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-10-30 04:18:33 +0000
committerUlrich Drepper <drepper@redhat.com>2000-10-30 04:18:33 +0000
commitda2a3ca6e2d712c2495aafa02364366f8534e4bc (patch)
treea7e1e5f8e6cbe9a256416616309a1da7f9ffa1ec /posix/regex.h
parent9c3b1ceba810a51cb0069644e1bc72cb9a1cbc8c (diff)
downloadglibc-da2a3ca6e2d712c2495aafa02364366f8534e4bc.tar
glibc-da2a3ca6e2d712c2495aafa02364366f8534e4bc.tar.gz
glibc-da2a3ca6e2d712c2495aafa02364366f8534e4bc.tar.bz2
glibc-da2a3ca6e2d712c2495aafa02364366f8534e4bc.zip
Update.
2000-10-29 Greg Louis <glouis@dynamicro.on.ca> * posix/regex.h (__restrict_arr): Move definition out of #ifndef block. Required because egcs-2.91.66 (aka 1.1.2) defines __restrict, but doesn't define __restrict_arr. * manual/search.texi: Correct description if VISIT values. Patch by Ben Collins <bcollins@debian.org>.
Diffstat (limited to 'posix/regex.h')
-rw-r--r--posix/regex.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/posix/regex.h b/posix/regex.h
index 47f4af7b55..91a3560678 100644
--- a/posix/regex.h
+++ b/posix/regex.h
@@ -523,11 +523,11 @@ extern int re_exec _RE_ARGS ((const char *));
# define __restrict
# endif
# endif
+#endif
/* For now unconditionally define __restrict_arr to expand to nothing.
Ideally we would have a test for the compiler which allows defining
it to restrict. */
-# define __restrict_arr
-#endif
+#define __restrict_arr
/* POSIX compatibility. */
extern int regcomp _RE_ARGS ((regex_t *__restrict __preg,