diff options
author | Eric Blake <ebb9@byu.net> | 2008-06-16 07:09:24 -0600 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2008-06-16 07:09:24 -0600 |
commit | b4c7d8547c2072cf84237d2abd3474c17b009081 (patch) | |
tree | 5814e50e359b756a843f0173c6e1d8c27f8eded6 /modules/gnu.c | |
parent | 33ac212bed1448f8fd9b87f94f4c1c79461f2eaf (diff) | |
download | m4-b4c7d8547c2072cf84237d2abd3474c17b009081.tar.gz |
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 <ebb9@byu.net>
Diffstat (limited to 'modules/gnu.c')
-rw-r--r-- | modules/gnu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gnu.c b/modules/gnu.c index ead1b62b..99df3ef2 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 |