grep-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grep branch, master, updated. v2.25-58-g6f67b13


From: Jim Meyering
Subject: grep branch, master, updated. v2.25-58-g6f67b13
Date: Sun, 21 Aug 2016 01:20:17 +0000 (UTC)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".

The branch, master has been updated
       via  6f67b1313cc1f8964f5440012b161962453ded2d (commit)
      from  4ebf587adc23057921c5e26df8c34ffe2cf91c9d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=6f67b1313cc1f8964f5440012b161962453ded2d


commit 6f67b1313cc1f8964f5440012b161962453ded2d
Author: Zev Weiss <address@hidden>
Date:   Sat Aug 20 20:01:43 2016 -0500

    dfa: constify some function parameters
    
    * src/dfa.c (char_context): Mark dfa parameter const.
    (charclass_context): Likewise.

diff --git a/src/dfa.c b/src/dfa.c
index 33b3cd0..4e2fe61 100644
--- a/src/dfa.c
+++ b/src/dfa.c
@@ -748,7 +748,7 @@ unibyte_word_constituent (unsigned char c)
 }
 
 static int
-char_context (struct dfa *dfa, unsigned char c)
+char_context (struct dfa const *dfa, unsigned char c)
 {
   if (c == dfa->syntax.eolbyte)
     return CTX_NEWLINE;
@@ -2291,7 +2291,7 @@ epsclosure (position_set *s, struct dfa const *d, char 
*visited)
    character included in C.  */
 
 static int
-charclass_context (struct dfa *dfa, charclass c)
+charclass_context (struct dfa const *dfa, charclass c)
 {
   int context = 0;
   unsigned int j;

-----------------------------------------------------------------------

Summary of changes:
 src/dfa.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
grep



reply via email to

[Prev in Thread] Current Thread [Next in Thread]