summaryrefslogtreecommitdiffstats
path: root/generic/regcustom.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-11-25 11:47:54 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-11-25 11:47:54 (GMT)
commit7b4af51ed2c67661856796cc6669052b86bda825 (patch)
tree0a6432cb9fcba1e5f3bb37ef5f4d4f486886a47d /generic/regcustom.h
parenta3572d2400fc9b189ceb5f6f2c929486d136ab05 (diff)
downloadtcl-7b4af51ed2c67661856796cc6669052b86bda825.zip
tcl-7b4af51ed2c67661856796cc6669052b86bda825.tar.gz
tcl-7b4af51ed2c67661856796cc6669052b86bda825.tar.bz2
Eliminate some macros that are no longer used/needed.
Diffstat (limited to 'generic/regcustom.h')
-rw-r--r--generic/regcustom.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/regcustom.h b/generic/regcustom.h
index 681b97d..1f00bf4 100644
--- a/generic/regcustom.h
+++ b/generic/regcustom.h
@@ -37,9 +37,9 @@
*/
#define FUNCPTR(name, args) (*name)args
-#define MALLOC(n) VS(attemptckalloc(n))
-#define FREE(p) ckfree(VS(p))
-#define REALLOC(p,n) VS(attemptckrealloc(VS(p),n))
+#define MALLOC(n) (void*)(attemptckalloc(n))
+#define FREE(p) ckfree((void*)(p))
+#define REALLOC(p,n) (void*)(attemptckrealloc((void*)(p),n))
/*
* Do not insert extras between the "begin" and "end" lines - this chunk is