From 0bebe7285adaee2d666d3b0303c4db0d84e3f0d9 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 25 Mar 2007 18:07:11 +0000 Subject: [PATCH] Avoid HP-UX cc warning. --- ChangeLog | 4 ++++ lib/regexec.c | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8d02388f87..74c2e0f2a9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-03-25 Bruno Haible + + * lib/regexec.c (merge_state_with_log): Make static. + 2007-03-25 Bruno Haible * lib/trigl.c (kernel_rem_pio2): Make static. diff --git a/lib/regexec.c b/lib/regexec.c index cba5ea20e3..b136570820 100644 --- a/lib/regexec.c +++ b/lib/regexec.c @@ -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 . @@ -2338,7 +2339,7 @@ transit_state (reg_errcode_t *err, re_match_context_t *mctx, } /* 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) -- 2.30.2