diff options
author | nijtmans <nijtmans> | 2009-02-27 23:03:41 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2009-02-27 23:03:41 (GMT) |
commit | 5119564c4202954fb6ad5bba77a1371f4a1d7920 (patch) | |
tree | c82e642d20ce6b9934198c2c1059f1892d825390 /generic/tclDecls.h | |
parent | cef4c16d5ab82ead5e327bd9a97a69f7e4b7e2c2 (diff) | |
download | tcl-5119564c4202954fb6ad5bba77a1371f4a1d7920.zip tcl-5119564c4202954fb6ad5bba77a1371f4a1d7920.tar.gz tcl-5119564c4202954fb6ad5bba77a1371f4a1d7920.tar.bz2 |
[Bug 218977] Tcl_DbCkfree needs a return value
don't use CONST84/CONST86 in internal header files
Diffstat (limited to 'generic/tclDecls.h')
-rw-r--r-- | generic/tclDecls.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclDecls.h b/generic/tclDecls.h index 4eadfa2..6c3869f 100644 --- a/generic/tclDecls.h +++ b/generic/tclDecls.h @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclDecls.h,v 1.169 2009/01/22 06:42:33 nijtmans Exp $ + * RCS: @(#) $Id: tclDecls.h,v 1.170 2009/02/27 23:03:42 nijtmans Exp $ */ #ifndef _TCLDECLS @@ -80,7 +80,7 @@ EXTERN char * Tcl_DbCkalloc (unsigned int size, const char * file, #ifndef Tcl_DbCkfree_TCL_DECLARED #define Tcl_DbCkfree_TCL_DECLARED /* 7 */ -EXTERN int Tcl_DbCkfree (char * ptr, const char * file, +EXTERN void Tcl_DbCkfree (char * ptr, const char * file, int line); #endif #ifndef Tcl_DbCkrealloc_TCL_DECLARED @@ -3743,7 +3743,7 @@ typedef struct TclStubs { void (*tcl_Free) (char * ptr); /* 4 */ char * (*tcl_Realloc) (char * ptr, unsigned int size); /* 5 */ char * (*tcl_DbCkalloc) (unsigned int size, const char * file, int line); /* 6 */ - int (*tcl_DbCkfree) (char * ptr, const char * file, int line); /* 7 */ + void (*tcl_DbCkfree) (char * ptr, const char * file, int line); /* 7 */ char * (*tcl_DbCkrealloc) (char * ptr, unsigned int size, const char * file, int line); /* 8 */ #if !defined(__WIN32__) && !defined(MAC_OSX_TCL) /* UNIX */ void (*tcl_CreateFileHandler) (int fd, int mask, Tcl_FileProc * proc, ClientData clientData); /* 9 */ |