*
*----------------------------------------------------------------------
*/
-static void
-dump_memory_info(outFile)
- FILE *outFile;
+static void
+dump_memory_info (FILE *outFile)
{
fprintf(outFile,"total mallocs %10d\n",
total_mallocs);
*
*----------------------------------------------------------------------
*/
-static void
-ValidateMemory (memHeaderP, file, line, nukeGuards)
- struct mem_header *memHeaderP;
- char *file;
- int line;
- int nukeGuards;
+static void
+ValidateMemory (struct mem_header *memHeaderP, char *file, int line, int nukeGuards)
{
unsigned char *hiPtr;
int idx;
*
*----------------------------------------------------------------------
*/
-void
-Tcl_ValidateAllMemory (file, line)
- char *file;
- int line;
+void
+Tcl_ValidateAllMemory (char *file, int line)
{
struct mem_header *memScanP;
* will have the file error number left in it.
*----------------------------------------------------------------------
*/
-int
-Tcl_DumpActiveMemory (fileName)
- char *fileName;
+int
+Tcl_DumpActiveMemory (char *fileName)
{
FILE *fileP;
struct mem_header *memScanP;
*----------------------------------------------------------------------
*/
char *
-Tcl_DbCkalloc(size, file, line)
- unsigned int size;
- char *file;
- int line;
+Tcl_DbCkalloc (unsigned int size, char *file, int line)
{
struct mem_header *result;
*----------------------------------------------------------------------
*/
-int
-Tcl_DbCkfree(ptr, file, line)
- char * ptr;
- char *file;
- int line;
+int
+Tcl_DbCkfree (char *ptr, char *file, int line)
{
struct mem_header *memp = 0; /* Must be zero for size calc */
*----------------------------------------------------------------------
*/
/* ARGSUSED */
-static int
-MemoryCmd (clientData, interp, argc, argv)
- char *clientData;
- Tcl_Interp *interp;
- int argc;
- char **argv;
+static int
+MemoryCmd (char *clientData, Tcl_Interp *interp, int argc, char **argv)
{
char *fileName;
*
*----------------------------------------------------------------------
*/
-void
-Tcl_InitMemory(interp)
- Tcl_Interp *interp;
+void
+Tcl_InitMemory (Tcl_Interp *interp)
{
Tcl_CreateCommand (interp, "memory", MemoryCmd, (ClientData)NULL,
(void (*)())NULL);
*----------------------------------------------------------------------
*/
VOID *
-Tcl_Ckalloc (size)
- unsigned int size;
+Tcl_Ckalloc (unsigned int size)
{
char *result;
*
*----------------------------------------------------------------------
*/
-void
-Tcl_Ckfree (ptr)
- VOID *ptr;
+void
+Tcl_Ckfree (VOID *ptr)
{
free (ptr);
}
*----------------------------------------------------------------------
*/
/* ARGSUSED */
-void
-Tcl_InitMemory(interp)
- Tcl_Interp *interp;
+void
+Tcl_InitMemory (Tcl_Interp *interp)
{
}