m4-commit
[Top][All Lists]
Advanced

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

[SCM] GNU M4 source repository branch, master, updated. cvs-readonly-135


From: Eric Blake
Subject: [SCM] GNU M4 source repository branch, master, updated. cvs-readonly-135-gb4c7d85
Date: Mon, 16 Jun 2008 13:16:38 +0000

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 "GNU M4 source repository".

http://git.sv.gnu.org/gitweb/?p=m4.git;a=commitdiff;h=b4c7d8547c2072cf84237d2abd3474c17b009081

The branch, master has been updated
       via  b4c7d8547c2072cf84237d2abd3474c17b009081 (commit)
      from  33ac212bed1448f8fd9b87f94f4c1c79461f2eaf (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 -----------------------------------------------------------------
commit b4c7d8547c2072cf84237d2abd3474c17b009081
Author: Eric Blake <address@hidden>
Date:   Mon Jun 16 07:09:24 2008 -0600

    Add missing const qualifications.
    
    * m4/resyntax.c (m4_resyntax_map): Declare array elements as
    const.
    * modules/gnu.c (m4_builtin_table, m4_macro_table): Likewise.
    * modules/import.c (m4_builtin_table): Likewise.
    * modules/load.c (m4_builtin_table, m4_macro_table): Likewise.
    * modules/m4.c (m4_builtin_table): Likewise.
    * modules/modtest.c (m4_builtin_table, m4_macro_table): Likewise.
    * modules/mpeval.c (m4_builtin_table, m4_macro_table): Likewise.
    * modules/perl.c (m4_builtin_table, m4_macro_table): Likewise.
    * modules/shadow.c (m4_builtin_table, m4_macro_table): Likewise.
    * modules/stdlib.c (m4_builtin_table): Likewise.
    * modules/time.c (m4_builtin_table): Likewise.
    * modules/traditional.c (m4_macro_table): Likewise.
    
    Signed-off-by: Eric Blake <address@hidden>

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

Summary of changes:
 ChangeLog             |   17 +++++++++++++++++
 m4/resyntax.c         |    4 ++--
 modules/gnu.c         |    4 ++--
 modules/import.c      |    2 +-
 modules/load.c        |    4 ++--
 modules/m4.c          |    2 +-
 modules/modtest.c     |    4 ++--
 modules/mpeval.c      |    4 ++--
 modules/perl.c        |    4 ++--
 modules/shadow.c      |    4 ++--
 modules/stdlib.c      |    2 +-
 modules/time.c        |    2 +-
 modules/traditional.c |    2 +-
 13 files changed, 36 insertions(+), 19 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b2f0cc4..19631a6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,20 @@
+2008-06-16  Eric Blake  <address@hidden>
+
+       Add missing const qualifications.
+       * m4/resyntax.c (m4_resyntax_map): Declare array elements as
+       const.
+       * modules/gnu.c (m4_builtin_table, m4_macro_table): Likewise.
+       * modules/import.c (m4_builtin_table): Likewise.
+       * modules/load.c (m4_builtin_table, m4_macro_table): Likewise.
+       * modules/m4.c (m4_builtin_table): Likewise.
+       * modules/modtest.c (m4_builtin_table, m4_macro_table): Likewise.
+       * modules/mpeval.c (m4_builtin_table, m4_macro_table): Likewise.
+       * modules/perl.c (m4_builtin_table, m4_macro_table): Likewise.
+       * modules/shadow.c (m4_builtin_table, m4_macro_table): Likewise.
+       * modules/stdlib.c (m4_builtin_table): Likewise.
+       * modules/time.c (m4_builtin_table): Likewise.
+       * modules/traditional.c (m4_macro_table): Likewise.
+
 2008-06-10  Eric Blake  <address@hidden>
 
        Avoid corrupted frozen file if NUL appears on block boundary.
diff --git a/m4/resyntax.c b/m4/resyntax.c
index 62e831d..8be3038 100644
--- a/m4/resyntax.c
+++ b/m4/resyntax.c
@@ -1,5 +1,5 @@
 /* GNU m4 -- A simple macro processor
-   Copyright (C) 2006, 2007 Free Software Foundation, Inc.
+   Copyright (C) 2006, 2007, 2008 Free Software Foundation, Inc.
 
    This file is part of GNU M4.
 
@@ -33,7 +33,7 @@ typedef struct {
    the mappings will break programs that load a frozen file made before
    such a change...  */
 
-static m4_resyntax m4_resyntax_map[] =
+static m4_resyntax const m4_resyntax_map[] =
 {
   /* First, the canonical definitions for reverse lookups:  */
 
diff --git a/modules/gnu.c b/modules/gnu.c
index ead1b62..99df3ef 100644
--- a/modules/gnu.c
+++ b/modules/gnu.c
@@ -68,7 +68,7 @@
 
 
 /* Generate a table for mapping m4 symbol names to handler functions. */
-m4_builtin m4_builtin_table[] =
+const m4_builtin m4_builtin_table[] =
 {
 #define BUILTIN(handler, macros, blind, side, min, max)                        
\
   M4BUILTIN_ENTRY (handler, #handler, macros, blind, side, min, max)
@@ -81,7 +81,7 @@ m4_builtin m4_builtin_table[] =
 
 
 /* A table for mapping m4 symbol names to simple expansion text. */
-m4_macro m4_macro_table[] =
+const m4_macro m4_macro_table[] =
 {
   /* name              text    min     max */
 #if UNIX
diff --git a/modules/import.c b/modules/import.c
index 8b5fc05..2c9551a 100644
--- a/modules/import.c
+++ b/modules/import.c
@@ -40,7 +40,7 @@
   builtin_functions
 #undef BUILTIN
 
-m4_builtin m4_builtin_table[] =
+const m4_builtin m4_builtin_table[] =
 {
 #define BUILTIN(handler, macros, blind, side, min, max)                        
\
   M4BUILTIN_ENTRY (handler, #handler, macros, blind, side, min, max)
diff --git a/modules/load.c b/modules/load.c
index e169796..c943702 100644
--- a/modules/load.c
+++ b/modules/load.c
@@ -48,7 +48,7 @@
 
 
 /* Generate a table for mapping m4 symbol names to handler functions. */
-m4_builtin m4_builtin_table[] =
+const m4_builtin m4_builtin_table[] =
 {
 #define BUILTIN(handler, macros, blind, side, min, max)                        
\
   M4BUILTIN_ENTRY (handler, #handler, macros, blind, side, min, max)
@@ -61,7 +61,7 @@ m4_builtin m4_builtin_table[] =
 
 
 /* A table for mapping m4 symbol names to simple expansion text. */
-m4_macro m4_macro_table[] =
+const m4_macro m4_macro_table[] =
 {
   /* name              text    min     max */
   { "__load__",                "",     0,      0 },
diff --git a/modules/m4.c b/modules/m4.c
index d9e789e..b993ec4 100644
--- a/modules/m4.c
+++ b/modules/m4.c
@@ -115,7 +115,7 @@ static void numb_obstack    (m4_obstack *obs, number value,
 
 
 /* Generate a table for mapping m4 symbol names to handler functions. */
-m4_builtin m4_builtin_table[] =
+const m4_builtin m4_builtin_table[] =
 {
 #define BUILTIN(handler, macros, blind, side, min, max)                        
\
   M4BUILTIN_ENTRY (handler, #handler, macros, blind, side, min, max)
diff --git a/modules/modtest.c b/modules/modtest.c
index ab23f5f..9a0219b 100644
--- a/modules/modtest.c
+++ b/modules/modtest.c
@@ -44,7 +44,7 @@ extern bool export_test (const char *foo);
   builtin_functions
 #undef BUILTIN
 
-m4_builtin m4_builtin_table[] =
+const m4_builtin m4_builtin_table[] =
 {
 #define BUILTIN(handler, macros, blind, side, min, max)                        
\
   M4BUILTIN_ENTRY (handler, #handler, macros, blind, side, min, max)
@@ -55,7 +55,7 @@ m4_builtin m4_builtin_table[] =
   { NULL, NULL, 0, 0, 0 },
 };
 
-m4_macro m4_macro_table[] =
+const m4_macro m4_macro_table[] =
 {
   /* name              text            min     max */
   { "__test__",                "`modtest'",    0,      0 },
diff --git a/modules/mpeval.c b/modules/mpeval.c
index 7bd2139..63cd56a 100644
--- a/modules/mpeval.c
+++ b/modules/mpeval.c
@@ -106,7 +106,7 @@
 
 
 /* Generate a table for mapping m4 symbol names to handler functions. */
-m4_builtin m4_builtin_table[] =
+const m4_builtin m4_builtin_table[] =
 {
 #define BUILTIN(handler, macros, blind, side, min, max)                        
\
   M4BUILTIN_ENTRY (handler, #handler, macros, blind, side, min, max)
@@ -119,7 +119,7 @@ m4_builtin m4_builtin_table[] =
 
 
 /* A table for mapping m4 symbol names to simple expansion text. */
-m4_macro m4_macro_table[] =
+const m4_macro m4_macro_table[] =
 {
   /* name              text    min     max */
   { "__mpeval__",      "",     0,      0 },
diff --git a/modules/perl.c b/modules/perl.c
index 811a114..6b4f1f5 100644
--- a/modules/perl.c
+++ b/modules/perl.c
@@ -46,7 +46,7 @@
   builtin_functions
 #undef BUILTIN
 
-m4_builtin m4_builtin_table[] =
+const m4_builtin m4_builtin_table[] =
 {
 #define BUILTIN(handler, macros, blind, side, min, max)                        
\
   M4BUILTIN_ENTRY (handler, #handler, macros, blind, side, min, max)
@@ -58,7 +58,7 @@ m4_builtin m4_builtin_table[] =
 };
 
 /* A table for mapping m4 symbol names to simple expansion text. */
-m4_macro m4_macro_table[] =
+const m4_macro m4_macro_table[] =
 {
   /* name              text    min     max */
   { "__perleval__",    "",     0,      0 },
diff --git a/modules/shadow.c b/modules/shadow.c
index db8515e..be66bb6 100644
--- a/modules/shadow.c
+++ b/modules/shadow.c
@@ -42,7 +42,7 @@
   builtin_functions
 #undef BUILTIN
 
-m4_builtin m4_builtin_table[] =
+const m4_builtin m4_builtin_table[] =
 {
 #define BUILTIN(handler, macros, blind, side, min, max)                        
\
   M4BUILTIN_ENTRY (handler, #handler, macros, blind, side, min, max)
@@ -53,7 +53,7 @@ m4_builtin m4_builtin_table[] =
   { NULL, NULL, 0, 0, 0 },
 };
 
-m4_macro m4_macro_table[] =
+const m4_macro m4_macro_table[] =
 {
   /* name              text            min     max */
   { "__test__",                "`shadow'",     0,      0 },
diff --git a/modules/stdlib.c b/modules/stdlib.c
index 0fd492f..b60e977 100644
--- a/modules/stdlib.c
+++ b/modules/stdlib.c
@@ -61,7 +61,7 @@
   builtin_functions
 #undef BUILTIN
 
-m4_builtin m4_builtin_table[] =
+const m4_builtin m4_builtin_table[] =
 {
 #define BUILTIN(handler, macros, blind, side, min, max)                        
\
   M4BUILTIN_ENTRY (handler, #handler, macros, blind, side, min, max)
diff --git a/modules/time.c b/modules/time.c
index 62f3da6..a922a67 100644
--- a/modules/time.c
+++ b/modules/time.c
@@ -61,7 +61,7 @@
 # endif
 #undef BUILTIN
 
-m4_builtin m4_builtin_table[] =
+const m4_builtin m4_builtin_table[] =
 {
 #define BUILTIN(handler, macros, blind, side, min, max)                        
\
   M4BUILTIN_ENTRY (handler, #handler, macros, blind, side, min, max)
diff --git a/modules/traditional.c b/modules/traditional.c
index 13a112d..15ad655 100644
--- a/modules/traditional.c
+++ b/modules/traditional.c
@@ -31,7 +31,7 @@
 #define m4_macro_table         traditional_LTX_m4_macro_table
 
 /* A table for mapping m4 symbol names to simple expansion text. */
-m4_macro m4_macro_table[] =
+const m4_macro m4_macro_table[] =
 {
   /* name              text    min     max */
 #if UNIX


hooks/post-receive
--
GNU M4 source repository




reply via email to

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