summaryrefslogtreecommitdiffstats
path: root/generic/regcustom.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/regcustom.h')
-rw-r--r--generic/regcustom.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/generic/regcustom.h b/generic/regcustom.h
index 1c970ea..57a2d47 100644
--- a/generic/regcustom.h
+++ b/generic/regcustom.h
@@ -30,16 +30,16 @@
* Headers if any.
*/
-#include "regex.h"
+#include "tclInt.h"
/*
* Overrides for regguts.h definitions, if any.
*/
#define FUNCPTR(name, args) (*name)args
-#define MALLOC(n) VS(attemptckalloc(n))
+#define MALLOC(n) ckalloc(n)
#define FREE(p) ckfree(VS(p))
-#define REALLOC(p,n) VS(attemptckrealloc(VS(p),n))
+#define REALLOC(p,n) ckrealloc(VS(p),n)
/*
* Do not insert extras between the "begin" and "end" lines - this chunk is
@@ -155,9 +155,7 @@ typedef int celt; /* Type to hold chr, or NOCELT */
#endif
/*
- * Local Variables:
- * mode: c
- * c-basic-offset: 4
- * fill-column: 78
- * End:
+ * And pick up the standard header.
*/
+
+#include "regex.h"