From: Paul Eggert Date: Wed, 16 Mar 2011 07:26:16 +0000 (-0700) Subject: * callint.c: Use const pointer when appropriate. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~554^2~37 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b0e80955879267569ee146c03ae0d5a8e7e041a5;p=emacs.git * callint.c: Use const pointer when appropriate. --- 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