projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bf6449
)
(malloc, realloc, free) [emacs]: Undefine before
author
Eli Zaretskii
<eliz@gnu.org>
Sat, 12 May 2001 10:52:38 +0000
(10:52 +0000)
committer
Eli Zaretskii
<eliz@gnu.org>
Sat, 12 May 2001 10:52:38 +0000
(10:52 +0000)
redefining, to avoid compiler warnings.
regex.c
patch
|
blob
|
history
diff --git
a/regex.c
b/regex.c
index b3d0658c7dcd42b000fbd960ad5ef4cfca45550a..9fe099c7125fbfdae837436764d2fdcfaee0f7eb 100644
(file)
--- a/
regex.c
+++ b/
regex.c
@@
-124,8
+124,17
@@
# include "charset.h"
# include "category.h"
+# ifdef malloc
+# undef malloc
+# endif
# define malloc xmalloc
+# ifdef realloc
+# undef realloc
+# endif
# define realloc xrealloc
+# ifdef free
+# undef free
+# endif
# define free xfree
/* Converts the pointer to the char to BEG-based offset from the start. */