summaryrefslogtreecommitdiff
path: root/src/regex.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-11-07 21:13:22 +0000
committerRichard M. Stallman <rms@gnu.org>1996-11-07 21:13:22 +0000
commit9abbd16515cbbbc3cf065ca31663e9fc05e7aa18 (patch)
tree49413b0fbaa5781d15754b4811ed4eff23a4d8ce /src/regex.c
parente80f3932b6e97eeb6971a65214d871fb5a868ce8 (diff)
downloademacs-9abbd16515cbbbc3cf065ca31663e9fc05e7aa18.tar.gz
[emacs] (malloc, free): Define as xmalloc, and xfree.
Diffstat (limited to 'src/regex.c')
-rw-r--r--src/regex.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/regex.c b/src/regex.c
index 4f222a5e42e..e26641bfcd9 100644
--- a/src/regex.c
+++ b/src/regex.c
@@ -55,6 +55,9 @@
#include "buffer.h"
#include "syntax.h"
+#define malloc xmalloc
+#define free xfree
+
#else /* not emacs */
/* If we are not linking with Emacs proper,