Avoid HP-UX cc warning.
authorBruno Haible <bruno@clisp.org>
Sun, 25 Mar 2007 18:07:11 +0000 (18:07 +0000)
committerBruno Haible <bruno@clisp.org>
Sun, 25 Mar 2007 18:07:11 +0000 (18:07 +0000)
ChangeLog
lib/regexec.c

index 8d02388f879a5aac7ed9d7926623bceeca107b66..74c2e0f2a9735e9a9f1e40c53bf988ec1009f03c 100644 (file)
--- 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.
index cba5ea20e3e3bf93a4abcf03e78580320b640f00..b136570820abe9ca818780bba7b84d88e8dbabab 100644 (file)
@@ -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 @@ 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)