From: Gerd Moellmann Date: Thu, 30 Mar 2000 09:36:27 +0000 (+0000) Subject: (xstrdup): Add prototype. X-Git-Tag: emacs-pretest-21.0.90~4411 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8e7af858e154c4676adc2ef1587f23928c743019;p=emacs.git (xstrdup): Add prototype. --- diff --git a/src/ChangeLog b/src/ChangeLog index 6bc687b6167..ed700166530 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,19 @@ +2000-03-30 Gerd Moellmann + + * xfns.c (free_image_cache): Free the cache structure itself + last, after all its members have been freed. + + * lisp.h (xstrdup): Add prototype. + + * alloc.c (xstrdup): Moved here from xfaces.c. + (allocating_for_lisp): Variable removed. + (lisp_malloc): Block input around the calls to malloc and + mem_insert. + + * xfaces.c (realize_tty_face): Use find_symbol_value instead + of Fsymbol_value. + (xstrdup): Moved to alloc.c. + 2000-03-29 Ken Raeburn * scroll.c (CHECK_BOUNDS): Renamed from CHECK. diff --git a/src/lisp.h b/src/lisp.h index 0e1cfff61ab..54a3bdd5855 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -2857,6 +2857,7 @@ extern int immediate_quit; /* Nonzero means ^G can quit instantly */ extern char *getenv (), *ctime (), *getwd (); extern long *xmalloc (), *xrealloc (); extern void xfree (); +extern char *xstrdup P_ ((char *)); extern char *egetenv P_ ((char *));