From b0e80955879267569ee146c03ae0d5a8e7e041a5 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 16 Mar 2011 00:26:16 -0700 Subject: [PATCH] * callint.c: Use const pointer when appropriate. --- src/ChangeLog | 1 + src/callint.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index e70683dd12a..ca43ce4dc8f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -2,6 +2,7 @@ * callint.c (quotify_arg, quotify_args): Now static. (Fcall_interactively): Rename locals to avoid shadowing. + Use const pointer when appropriate. * lisp.h (get_system_name, get_operating_system_release): Move decls here, to check interfaces. diff --git a/src/callint.c b/src/callint.c index 5ec916a5b8a..282d8a82aa7 100644 --- a/src/callint.c +++ b/src/callint.c @@ -258,7 +258,7 @@ invoke it. If KEYS is omitted or nil, the return value of Lisp_Object prefix_arg; char *string; - char *tem; + const char *tem; /* If varies[i] > 0, the i'th argument shouldn't just have its value in this call quoted in the command history. It should be -- 2.39.2