summaryrefslogtreecommitdiffstats
path: root/generic/tclCkalloc.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-03 12:31:19 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-03 12:31:19 (GMT)
commitb9ecc426358d3737357f0460caee4eae5be61a3a (patch)
tree1af98744597d706e888e17d56f9a96c61450f14d /generic/tclCkalloc.c
parent0d066cf5f9286f6ecb836a4c131cdd3d70b76734 (diff)
parentf2d051b8afa1a1d9acf943607988e4c911ed2d3c (diff)
downloadtcl-b9ecc426358d3737357f0460caee4eae5be61a3a.zip
tcl-b9ecc426358d3737357f0460caee4eae5be61a3a.tar.gz
tcl-b9ecc426358d3737357f0460caee4eae5be61a3a.tar.bz2
Move cpuid testcase from win-specific to generic tests
Diffstat (limited to 'generic/tclCkalloc.c')
-rw-r--r--generic/tclCkalloc.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/generic/tclCkalloc.c b/generic/tclCkalloc.c
index c374ce5..5c0432d 100644
--- a/generic/tclCkalloc.c
+++ b/generic/tclCkalloc.c
@@ -583,7 +583,7 @@ Tcl_AttemptDbCkalloc(
*----------------------------------------------------------------------
*/
-int
+void
Tcl_DbCkfree(
char *ptr,
CONST char *file,
@@ -592,7 +592,7 @@ Tcl_DbCkfree(
struct mem_header *memp;
if (ptr == NULL) {
- return 0;
+ return;
}
/*
@@ -646,8 +646,6 @@ Tcl_DbCkfree(
}
TclpFree((char *) memp);
Tcl_MutexUnlock(ckallocMutexPtr);
-
- return 0;
}
/*
@@ -1219,14 +1217,13 @@ Tcl_Free(
TclpFree(ptr);
}
-int
+void
Tcl_DbCkfree(
char *ptr,
CONST char *file,
int line)
{
TclpFree(ptr);
- return 0;
}
/*