Port etags to -DDEBUG
commit84c7c6fd2b9604fa28e0b834caa46423114b9c5b
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 27 Mar 2015 18:14:14 +0000 (27 11:14 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 27 Mar 2015 18:14:33 +0000 (27 11:14 -0700)
tree12ff656dbc54a7840693cef1d0432f85ba51f8c4
parent087fdee723da5968679d0392302043f10a5934bb
Port etags to -DDEBUG

* etags.c (xnew, xrnew) [DEBUG]: Don't include chkmalloc.h, which
is not part of Emacs and is typically not installed.
Instead, just invoke xmalloc and xrealloc as usual.
Problem reported by Nicolas Richard in:
http://bugs.gnu.org/20191#20
(xrnew): Avoid no-longer-needed cast to 'char *'.
(xrealloc): First arg is now void *, not char *.
lib-src/ChangeLog
lib-src/etags.c