diff options
| author | Kenichi Handa | 2003-03-23 02:07:13 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2003-03-23 02:07:13 +0000 |
| commit | fcbb914bcd075165194d43a1552014a51d4d5cb9 (patch) | |
| tree | be3b962401ca54be3707f052e502ffd7adbd0345 /src | |
| parent | e33c01bb57a63b0dc4fb31cf7e1e90940ee1df02 (diff) | |
| download | emacs-fcbb914bcd075165194d43a1552014a51d4d5cb9.tar.gz emacs-fcbb914bcd075165194d43a1552014a51d4d5cb9.zip | |
(make_string_from_bytes): Add `const' for the arg
CONTENTS.
(make_specified_string): Likewise.
Diffstat (limited to 'src')
| -rw-r--r-- | src/alloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/alloc.c b/src/alloc.c index 2c1d09ac43e..0fc3198b773 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -1805,7 +1805,7 @@ make_multibyte_string (contents, nchars, nbytes) | |||
| 1805 | 1805 | ||
| 1806 | Lisp_Object | 1806 | Lisp_Object |
| 1807 | make_string_from_bytes (contents, nchars, nbytes) | 1807 | make_string_from_bytes (contents, nchars, nbytes) |
| 1808 | char *contents; | 1808 | const char *contents; |
| 1809 | int nchars, nbytes; | 1809 | int nchars, nbytes; |
| 1810 | { | 1810 | { |
| 1811 | register Lisp_Object val; | 1811 | register Lisp_Object val; |
| @@ -1824,7 +1824,7 @@ make_string_from_bytes (contents, nchars, nbytes) | |||
| 1824 | 1824 | ||
| 1825 | Lisp_Object | 1825 | Lisp_Object |
| 1826 | make_specified_string (contents, nchars, nbytes, multibyte) | 1826 | make_specified_string (contents, nchars, nbytes, multibyte) |
| 1827 | char *contents; | 1827 | const char *contents; |
| 1828 | int nchars, nbytes; | 1828 | int nchars, nbytes; |
| 1829 | int multibyte; | 1829 | int multibyte; |
| 1830 | { | 1830 | { |