1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 01:41:01 -08:00

* print.c (strout): Use const char* for arg PTR.

This commit is contained in:
Juanma Barranquero 2010-07-04 16:40:41 +02:00
parent b24344ca48
commit dcc7404b4e
2 changed files with 3 additions and 1 deletions

View file

@ -6,6 +6,7 @@
* dired.c (file_name_completion_stat): Use DIRENTRY, not struct dirent.
* fileio.c (read_non_regular, read_non_regular_quit): Pass Lisp_Object,
as required by internal_condition_case_1.
* print.c (strout): Use const char* for arg PTR.
* regex.c (bcmp_translate): Use RE_TRANSLATE_TYPE, not Lisp_Object.
(analyse_first): Fix "const const".
* sysdep.c (set_file_times): Use EMACS_TIME, not struct timeval.

View file

@ -350,7 +350,8 @@ printchar (unsigned int ch, Lisp_Object fun)
to data in a Lisp string. Otherwise that is not safe. */
static void
strout (char *ptr, int size, int size_byte, Lisp_Object printcharfun, int multibyte)
strout (const char *ptr, int size, int size_byte, Lisp_Object printcharfun,
int multibyte)
{
if (size < 0)
size_byte = size = strlen (ptr);