summaryrefslogtreecommitdiff
path: root/lisp/pathname.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2014-09-09 20:05:27 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2014-09-09 20:05:27 -0700
commit9f0f4a2c5495eec2d81a4381fb962fad93b2ddde (patch)
tree7608fb1bc62b2df1c8bcb4f549a35607a37e905b /lisp/pathname.c
parent40615f52b8fe7478599ce4948ccc751aa0a34397 (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/pathname.c')
-rw-r--r--lisp/pathname.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/pathname.c b/lisp/pathname.c
index 5d991fe..a8c2108 100644
--- a/lisp/pathname.c
+++ b/lisp/pathname.c
@@ -484,7 +484,8 @@ Lisp_ParseNamestring(LispBuiltin *builtin)
if (STRINGP(object)) {
LispObj *cons, *cdr;
char *name = THESTR(object), *ptr, *str, data[PATH_MAX + 1],
- string[PATH_MAX + 1], *namestr, *typestr, *send;
+ string[PATH_MAX + 1], *send;
+ const char *namestr, *typestr;
long start, end, length, alength, namelen, typelen;
LispCheckSequenceStartEnd(builtin, object, ostart, oend,