HP-UX cc gives this warning: cc: "regexec.c", line 2343: warning 562: Redeclaration of "merge_state_with_log" with a different storage class specifier: "merge_state_with_log" will have internal linkage.
This fixes it. I hope this patch is not too hard to push back to glibc, Paul? 2007-03-25 Bruno Haible <[EMAIL PROTECTED]> * lib/regexec.c (merge_state_with_log): Make static. --- lib/regexec.c 29 Jan 2007 00:37:14 -0000 1.24 +++ lib/regexec.c 25 Mar 2007 18:04:32 -0000 @@ -1,5 +1,6 @@ /* Extended regular expression matching and search library. - Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. + Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, + Inc. This file is part of the GNU C Library. Contributed by Isamu Hasegawa <[EMAIL PROTECTED]>. @@ -2338,7 +2339,7 @@ } /* Update the state_log if we need */ -re_dfastate_t * +static re_dfastate_t * internal_function merge_state_with_log (reg_errcode_t *err, re_match_context_t *mctx, re_dfastate_t *next_state)