* eregex.h: Undefine __restrict_arr before redefining to avoid a

warning if it's defined.
This commit is contained in:
Pavel Roskin 2002-12-11 05:33:39 +00:00
parent 84242b110c
commit 036689bf51
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-12-11 Pavel Roskin <proski@gnu.org>
* eregex.h: Undefine __restrict_arr before redefining to avoid a
warning if it's defined.
2002-12-09 Pavel Roskin <proski@gnu.org>
* util.c (load_file_position): Don't free filename.

View File

@ -535,6 +535,7 @@ extern int re_exec _RE_ARGS ((const char *));
/* 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. */
#undef __restrict_arr
#define __restrict_arr
/* POSIX compatibility. */