[SCM] GNU M4 source repository branch, branch-1.6, updated. v1.5.89a-28-g2319d26
"Eric Blake" <[email protected]> Mon, 16 Jun 2008 13:01:39 +0000
| Newsgroups | gmane.comp.gnu.m4.cvs |
|---|---|
| Message-ID | <[email protected]> |
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=2319d2628b8a6257622caa7d136d88021eaf8883
The branch, branch-1.6 has been updated
via 2319d2628b8a6257622caa7d136d88021eaf8883 (commit)
from 3be468475e78fc79f2e4aa60585daf7232e5c68d (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 2319d2628b8a6257622caa7d136d88021eaf8883
Author: Eric Blake <[email protected]>
Date: Mon Jun 16 07:00:59 2008 -0600
Add missing const qualifications.
* src/builtin.c (builtin_tab): Declare array elements as const.
Signed-off-by: Eric Blake <[email protected]>
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
src/builtin.c | 6 ++----
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index adc0364..ee7e246 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-06-16 Eric Blake <[email protected]>
+
+ Add missing const qualifications.
+ * src/builtin.c (builtin_tab): Declare array elements as const.
+
2008-06-03 Eric Blake <[email protected]>
Use progname module rather than rolling our own program_name.
diff --git a/src/builtin.c b/src/builtin.c
index e3ddf32..e68ea8d 100644
--- a/src/builtin.c
+++ b/src/builtin.c
@@ -87,8 +87,7 @@ DECLARE (m4_undivert);
#undef DECLARE
-static builtin
-builtin_tab[] =
+static builtin const builtin_tab[] =
{
/* name GNUext macros blind function */
@@ -149,8 +148,7 @@ builtin_tab[] =
{ "placeholder", true, false, false, m4_placeholder },
};
-static predefined const
-predefined_tab[] =
+static predefined const predefined_tab[] =
{
#if UNIX
{ "unix", "__unix__", "" },
hooks/post-receive
--
GNU M4 source repository