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 4620f062d60a38790fd76135c7b8b6aa71f18f7d (commit)
from e9ee68dfd8150145a64ec11e5227c9029c7ee3c0 (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=4620f062d60a38790fd76135c7b8b6aa71f18f7d
commit 4620f062d60a38790fd76135c7b8b6aa71f18f7d
Author: Norihiro Tanaka <[email protected]>
Date: Fri Jul 15 12:26:53 2016 +0200
dfa: fix whitespace problems
* src/dfa.c: Use GNU style for pointer decls.
diff --git a/src/dfa.c b/src/dfa.c
index f7e907b..596cc13 100644
--- a/src/dfa.c
+++ b/src/dfa.c
@@ -1942,7 +1942,7 @@ dfaparse (char const *s, size_t len, struct dfa *d)
/* Copy one set to another. */
static void
-copy (position_set const *src, position_set * dst)
+copy (position_set const *src, position_set *dst)
{
if (dst->alloc < src->nelem)
{
@@ -1955,7 +1955,7 @@ copy (position_set const *src, position_set * dst)
}
static void
-alloc_position_set (position_set * s, size_t size)
+alloc_position_set (position_set *s, size_t size)
{
s->elems = xnmalloc (size, sizeof *s->elems);
s->alloc = size;
@@ -1967,7 +1967,7 @@ alloc_position_set (position_set * s, size_t size)
then merge (logically-OR) P's constraints into the one in S.
S->elems must point to an array large enough to hold the resulting set. */
static void
-insert (position p, position_set * s)
+insert (position p, position_set *s)
{
size_t count = s->nelem;
size_t lo = 0, hi = count;
@@ -1997,7 +1997,7 @@ insert (position p, position_set * s)
/* Merge two sets of positions into a third. The result is exactly as if
the positions of both sets were inserted into an initially empty set. */
static void
-merge (position_set const *s1, position_set const *s2, position_set * m)
+merge (position_set const *s1, position_set const *s2, position_set *m)
{
size_t i = 0, j = 0;
@@ -2026,7 +2026,7 @@ merge (position_set const *s1, position_set const *s2,
position_set * m)
/* Delete a position from a set. */
static void
-delete (position p, position_set * s)
+delete (position p, position_set *s)
{
size_t i;
@@ -2605,8 +2605,8 @@ dfastate (state_num s, struct dfa *d, state_num trans[])
prtok (d->tokens[pos.index]);
fprintf (stderr, " of");
for (j = 0; j < NOTCHAR; j++)
- if (tstbit (j, matches))
- fprintf (stderr, " 0x%02zx", j);
+ if (tstbit (j, matches))
+ fprintf (stderr, " 0x%02zx", j);
fprintf (stderr, "\n");
#endif
-----------------------------------------------------------------------
Summary of changes:
src/dfa.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
hooks/post-receive
--
grep