aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert <[email protected]>2011-03-16 00:26:16 -0700
committerPaul Eggert <[email protected]>2011-03-16 00:26:16 -0700
commitb0e80955879267569ee146c03ae0d5a8e7e041a5 (patch)
tree0e9e6bc8685e5c271b5ca0d784aac66ab0445221 /src
parenta3e8cbda22e76cc2f5352638256cdc0033c00357 (diff)
* callint.c: Use const pointer when appropriate.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog1
-rw-r--r--src/callint.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index e70683dd12..ca43ce4dc8 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 5ec916a5b8..282d8a82aa 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