summaryrefslogtreecommitdiffstats
path: root/generic/tclThreadAlloc.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-12-19 10:42:42 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-12-19 10:42:42 (GMT)
commita728d03f7d2b232dbc44f2669d8eb326b1029d3d (patch)
tree5e462694ca52e0a37de87c6786d4028e6da22080 /generic/tclThreadAlloc.c
parent82903a4b1fb9b7ea432581d5c197770473c49021 (diff)
parent89f9758279f36f87e7b7efa0c7b2358635a1ea10 (diff)
downloadtcl-a728d03f7d2b232dbc44f2669d8eb326b1029d3d.zip
tcl-a728d03f7d2b232dbc44f2669d8eb326b1029d3d.tar.gz
tcl-a728d03f7d2b232dbc44f2669d8eb326b1029d3d.tar.bz2
merge novem
Diffstat (limited to 'generic/tclThreadAlloc.c')
-rw-r--r--generic/tclThreadAlloc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclThreadAlloc.c b/generic/tclThreadAlloc.c
index 2797f35..d02e470 100644
--- a/generic/tclThreadAlloc.c
+++ b/generic/tclThreadAlloc.c
@@ -220,7 +220,7 @@ GetCache(void)
cachePtr = TclpGetAllocCache();
if (cachePtr == NULL) {
- cachePtr = TclpSysAlloc(sizeof(Cache), 0);
+ cachePtr = TclpSysAlloc(sizeof(Cache));
if (cachePtr == NULL) {
Tcl_Panic("alloc: could not allocate new cache");
}
@@ -346,7 +346,7 @@ TclpAlloc(
#endif
if (size > MAXALLOC) {
bucket = NBUCKETS;
- blockPtr = TclpSysAlloc(size, 0);
+ blockPtr = TclpSysAlloc(size);
if (blockPtr != NULL) {
cachePtr->totalAssigned += reqSize;
}
@@ -572,7 +572,7 @@ TclThreadAllocObj(void)
Tcl_Obj *newObjsPtr;
cachePtr->numObjects = numMove = NOBJALLOC;
- newObjsPtr = TclpSysAlloc(sizeof(Tcl_Obj) * numMove, 0);
+ newObjsPtr = TclpSysAlloc(sizeof(Tcl_Obj) * numMove);
if (newObjsPtr == NULL) {
Tcl_Panic("alloc: could not allocate %d new objects", numMove);
}
@@ -1041,7 +1041,7 @@ GetBlocks(
if (blockPtr == NULL) {
size = MAXALLOC;
- blockPtr = TclpSysAlloc(size, 0);
+ blockPtr = TclpSysAlloc(size);
if (blockPtr == NULL) {
return 0;
}