[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/alloc.c
From: |
Kenichi Handa |
Subject: |
[Emacs-diffs] Changes to emacs/src/alloc.c |
Date: |
Fri, 26 Jul 2002 00:05:01 -0400 |
Index: emacs/src/alloc.c
diff -c emacs/src/alloc.c:1.277 emacs/src/alloc.c:1.278
*** emacs/src/alloc.c:1.277 Tue Jul 16 11:48:47 2002
--- emacs/src/alloc.c Tue Jul 16 15:47:52 2002
***************
*** 575,581 ****
char *
xstrdup (s)
! char *s;
{
size_t len = strlen (s) + 1;
char *p = (char *) xmalloc (len);
--- 575,581 ----
char *
xstrdup (s)
! const char *s;
{
size_t len = strlen (s) + 1;
char *p = (char *) xmalloc (len);
***************
*** 1757,1763 ****
Lisp_Object
make_string (contents, nbytes)
! char *contents;
int nbytes;
{
register Lisp_Object val;
--- 1757,1763 ----
Lisp_Object
make_string (contents, nbytes)
! const char *contents;
int nbytes;
{
register Lisp_Object val;
***************
*** 1778,1784 ****
Lisp_Object
make_unibyte_string (contents, length)
! char *contents;
int length;
{
register Lisp_Object val;
--- 1778,1784 ----
Lisp_Object
make_unibyte_string (contents, length)
! const char *contents;
int length;
{
register Lisp_Object val;
***************
*** 1794,1800 ****
Lisp_Object
make_multibyte_string (contents, nchars, nbytes)
! char *contents;
int nchars, nbytes;
{
register Lisp_Object val;
--- 1794,1800 ----
Lisp_Object
make_multibyte_string (contents, nchars, nbytes)
! const char *contents;
int nchars, nbytes;
{
register Lisp_Object val;
***************
*** 1845,1851 ****
Lisp_Object
build_string (str)
! char *str;
{
return make_string (str, strlen (str));
}
--- 1845,1851 ----
Lisp_Object
build_string (str)
! const char *str;
{
return make_string (str, strlen (str));
}
- [Emacs-diffs] Changes to emacs/src/alloc.c, Juanma Barranquero, 2002/07/10
- [Emacs-diffs] Changes to emacs/src/alloc.c, Juanma Barranquero, 2002/07/11
- [Emacs-diffs] Changes to emacs/src/alloc.c, Richard M. Stallman, 2002/07/11
- [Emacs-diffs] Changes to emacs/src/alloc.c, Ken Raeburn, 2002/07/14
- [Emacs-diffs] Changes to emacs/src/alloc.c, Ken Raeburn, 2002/07/16
- [Emacs-diffs] Changes to emacs/src/alloc.c, Ken Raeburn, 2002/07/16
- [Emacs-diffs] Changes to emacs/src/alloc.c,
Kenichi Handa <=