summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1996-11-07 21:13:22 +0000
committerRichard Stallman <rms@gnu.org>1996-11-07 21:13:22 +0000
commitc90c4710cee3f4882a4fa193c112f5efb6c93de7 (patch)
treed8628f0a85452de978d789ecdfab8b7a0b740713
parent8dc12ef7eea193c3f159a621b9108b1e2d2b6d26 (diff)
downloadgnulib-c90c4710cee3f4882a4fa193c112f5efb6c93de7.tar.gz
[emacs] (malloc, free): Define as xmalloc, and xfree.
-rw-r--r--regex.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/regex.c b/regex.c
index 4f222a5e42..e26641bfcd 100644
--- a/regex.c
+++ b/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,