(make_string_from_bytes): Add `const' for the arg
authorKenichi Handa <handa@m17n.org>
Sun, 23 Mar 2003 02:07:13 +0000 (02:07 +0000)
committerKenichi Handa <handa@m17n.org>
Sun, 23 Mar 2003 02:07:13 +0000 (02:07 +0000)
CONTENTS.
(make_specified_string): Likewise.

src/alloc.c

index 2c1d09a..0fc3198 100644 (file)
@@ -1805,7 +1805,7 @@ make_multibyte_string (contents, nchars, nbytes)
 
 Lisp_Object
 make_string_from_bytes (contents, nchars, nbytes)
-     char *contents;
+     const char *contents;
      int nchars, nbytes;
 {
   register Lisp_Object val;
@@ -1824,7 +1824,7 @@ make_string_from_bytes (contents, nchars, nbytes)
 
 Lisp_Object
 make_specified_string (contents, nchars, nbytes, multibyte)
-     char *contents;
+     const char *contents;
      int nchars, nbytes;
      int multibyte;
 {