diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-09-09 20:05:27 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-09-09 20:05:27 -0700 |
commit | 9f0f4a2c5495eec2d81a4381fb962fad93b2ddde (patch) | |
tree | 7608fb1bc62b2df1c8bcb4f549a35607a37e905b /lisp/mathimp.c | |
parent | 40615f52b8fe7478599ce4948ccc751aa0a34397 (diff) |
Copious const cleanup
Removes 1554 gcc warnings of "discards ‘const’ qualifier"
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'lisp/mathimp.c')
-rw-r--r-- | lisp/mathimp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/mathimp.c b/lisp/mathimp.c index 5f8bd4d..0433968 100644 --- a/lisp/mathimp.c +++ b/lisp/mathimp.c @@ -436,7 +436,7 @@ static INLINE int cmp_br_br(mpr*, mpr*); */ static n_real zero, one, two; -static char *fatal_error_strings[] = { +static const char *fatal_error_strings[] = { #define DIVIDE_BY_ZERO 0 "divide by zero", #define FLOATING_POINT_OVERFLOW 1 @@ -445,7 +445,7 @@ static char *fatal_error_strings[] = { "floating point exception" }; -static char *fatal_object_error_strings[] = { +static const char *fatal_object_error_strings[] = { #define NOT_A_NUMBER 0 "is not a number", #define NOT_A_REAL_NUMBER 1 |