diff options
Diffstat (limited to 'generic/tclCkalloc.c')
-rw-r--r-- | generic/tclCkalloc.c | 9 |
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; } /* |