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/core.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/core.c')
-rw-r--r-- | lisp/core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/core.c b/lisp/core.c index a9792e9..46930a2 100644 --- a/lisp/core.c +++ b/lisp/core.c @@ -1853,7 +1853,8 @@ Lisp_Gensym(LispBuiltin *builtin) gensym &optional arg */ { - char *preffix = "G", name[132]; + const char *preffix = "G"; + char name[132]; long counter = LONGINT_VALUE(Ogensym_counter->data.atom->property->value); LispObj *symbol; |