gawk-diffs
[Top][All Lists]
Advanced

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

[SCM] gawk branch, gawk-5.1-stable, updated. gawk-4.1.0-4152-gdca1a2e


From: Arnold Robbins
Subject: [SCM] gawk branch, gawk-5.1-stable, updated. gawk-4.1.0-4152-gdca1a2e
Date: Thu, 15 Oct 2020 02:45:14 -0400 (EDT)

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 "gawk".

The branch, gawk-5.1-stable has been updated
       via  dca1a2e3592390afa80fa0de3434cc1ec5a05fb0 (commit)
       via  20fec8ce0e2e6c52c23bf1b2fa6ff9846ddf3c01 (commit)
      from  ff37e5d04d28f5d9cd3125ff81487ccfe159a9f4 (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.sv.gnu.org/cgit/gawk.git/commit/?id=dca1a2e3592390afa80fa0de3434cc1ec5a05fb0

commit dca1a2e3592390afa80fa0de3434cc1ec5a05fb0
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Thu Oct 15 09:44:55 2020 +0300

    Small doc improvement.

diff --git a/doc/ChangeLog b/doc/ChangeLog
index c5de6bf..ae060c0 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,7 @@
+2020-10-15         Arnold D. Robbins     <arnold@skeeve.com>
+
+       * gawktexi.in: Add an index entry.
+
 2020-10-12         Arnold D. Robbins     <arnold@skeeve.com>
 
        * gawktexi.in: Explain `ls -l' earlier in the and small wording
diff --git a/doc/gawk.texi b/doc/gawk.texi
index 1500c04..2a1dbd5 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -3686,6 +3686,7 @@ used once, and thrown away.  Because @command{awk} 
programs are interpreted, you
 can avoid the (usually lengthy) compilation part of the typical
 edit-compile-test-debug cycle of software development.
 
+@cindex BWK @command{awk} @seeentry{Brian Kernighan's @command{awk}}
 @cindex Brian Kernighan's @command{awk}
 Complex programs have been written in @command{awk}, including a complete
 retargetable assembler for
diff --git a/doc/gawktexi.in b/doc/gawktexi.in
index e8494b6..f42d2ee 100644
--- a/doc/gawktexi.in
+++ b/doc/gawktexi.in
@@ -3596,6 +3596,7 @@ used once, and thrown away.  Because @command{awk} 
programs are interpreted, you
 can avoid the (usually lengthy) compilation part of the typical
 edit-compile-test-debug cycle of software development.
 
+@cindex BWK @command{awk} @seeentry{Brian Kernighan's @command{awk}}
 @cindex Brian Kernighan's @command{awk}
 Complex programs have been written in @command{awk}, including a complete
 retargetable assembler for

http://git.sv.gnu.org/cgit/gawk.git/commit/?id=20fec8ce0e2e6c52c23bf1b2fa6ff9846ddf3c01

commit 20fec8ce0e2e6c52c23bf1b2fa6ff9846ddf3c01
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Thu Oct 15 09:37:58 2020 +0300

    Update random.c to use prototypes.

diff --git a/support/ChangeLog b/support/ChangeLog
index e8fbd4b..b81b0e7 100644
--- a/support/ChangeLog
+++ b/support/ChangeLog
@@ -1,3 +1,7 @@
+2020-10-15         Arnold D. Robbins     <arnold@skeeve.com>
+
+       * random.c: Move code to using prototypes.
+
 2020-09-30         Arnold D. Robbins     <arnold@skeeve.com>
 
        * dfa.c: Synced from GNULIB.
diff --git a/support/random.c b/support/random.c
index 1aab2b5..8604b03 100644
--- a/support/random.c
+++ b/support/random.c
@@ -270,8 +270,7 @@ static uint32_t *end_ptr = &randtbl[DEG_3 + 1];
 
 static inline uint32_t good_rand(int32_t);
 
-static inline uint32_t good_rand (x)
-       int32_t x;
+static inline uint32_t good_rand (int32_t x)
 {
 #ifdef  USE_WEAK_SEEDING
 /*
@@ -316,8 +315,7 @@ static inline uint32_t good_rand (x)
  * for default usage relies on values produced by this routine.
  */
 void
-srandom(x)
-       unsigned long x;
+srandom(unsigned long x)
 {
        int i, lim;
 
@@ -408,10 +406,10 @@ srandomdev()
  * complain about mis-alignment, but you should disregard these messages.
  */
 char *
-initstate(seed, arg_state, n)
-       unsigned long seed;             /* seed for R.N.G. */
-       char *arg_state;                /* pointer to state array */
-       long n;                         /* # bytes of state info */
+initstate(
+       unsigned long seed,             /* seed for R.N.G. */
+       char *arg_state,                /* pointer to state array */
+       long n)                         /* # bytes of state info */
 {
        char *ostate = (char *)(&state[-1]);
        uint32_t *int_arg_state = (uint32_t *)arg_state;
@@ -476,8 +474,7 @@ initstate(seed, arg_state, n)
  * complain about mis-alignment, but you should disregard these messages.
  */
 char *
-setstate(arg_state)
-       char *arg_state;                /* pointer to state array */
+setstate(char *arg_state)              /* pointer to state array */
 {
        uint32_t *new_state = (uint32_t *)arg_state;
        uint32_t type = new_state[0] % MAX_TYPES;

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

Summary of changes:
 doc/ChangeLog     |  4 ++++
 doc/gawk.texi     |  1 +
 doc/gawktexi.in   |  1 +
 support/ChangeLog |  4 ++++
 support/random.c  | 17 +++++++----------
 5 files changed, 17 insertions(+), 10 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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