changeset 8540:ea5d70262310

Avoid HP-UX cc warning.
author Bruno Haible <bruno@clisp.org>
date Sun, 25 Mar 2007 18:07:11 +0000
parents 51b7bf6751cf
children a1af5a68e2e7
files ChangeLog lib/regexec.c
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-03-25  Bruno Haible  <bruno@clisp.org>
+
+	* lib/regexec.c (merge_state_with_log): Make static.
+
 2007-03-25  Bruno Haible  <bruno@clisp.org>
 
 	* lib/trigl.c (kernel_rem_pio2): Make static.
--- 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 <isamu@yamato.ibm.com>.
 
@@ -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)