diff --git a/src/ChangeLog b/src/ChangeLog index e7e0635eb..a50f33041 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2002-12-11 Pavel Roskin + + * eregex.h: Undefine __restrict_arr before redefining to avoid a + warning if it's defined. + 2002-12-09 Pavel Roskin * util.c (load_file_position): Don't free filename. diff --git a/src/eregex.h b/src/eregex.h index de40ce5cc..cd3a8594a 100644 --- a/src/eregex.h +++ b/src/eregex.h @@ -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. */