diff options
author | donal.k.fellows@manchester.ac.uk <dkf> | 2005-11-17 10:57:35 (GMT) |
---|---|---|
committer | donal.k.fellows@manchester.ac.uk <dkf> | 2005-11-17 10:57:35 (GMT) |
commit | c0d744d480e9d59d154fd118cf9a4bc31289a144 (patch) | |
tree | 551a8431a7603d8f0d73f739344653f03f7c3a35 /generic/tkPlace.c | |
parent | d58504c0fd2e733e6ecf390b547ffbd32e586d7e (diff) | |
download | tk-c0d744d480e9d59d154fd118cf9a4bc31289a144.zip tk-c0d744d480e9d59d154fd118cf9a4bc31289a144.tar.gz tk-c0d744d480e9d59d154fd118cf9a4bc31289a144.tar.bz2 |
Lots of ANSIfying of function decls.
Also a few spots where code has been cleaned up more completely.
Diffstat (limited to 'generic/tkPlace.c')
-rw-r--r-- | generic/tkPlace.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/generic/tkPlace.c b/generic/tkPlace.c index 5024344..f41138a 100644 --- a/generic/tkPlace.c +++ b/generic/tkPlace.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkPlace.c,v 1.17 2005/11/15 15:18:22 dkf Exp $ + * RCS: @(#) $Id: tkPlace.c,v 1.18 2005/11/17 10:57:35 dkf Exp $ */ #include "tkPort.h" @@ -376,11 +376,11 @@ CreateSlave( { Tcl_HashEntry *hPtr; register Slave *slavePtr; - int new; + int isNew; TkDisplay *dispPtr = ((TkWindow *) tkwin)->dispPtr; - hPtr = Tcl_CreateHashEntry(&dispPtr->slaveTable, (char *) tkwin, &new); - if (new) { + hPtr = Tcl_CreateHashEntry(&dispPtr->slaveTable, (char *) tkwin, &isNew); + if (isNew) { slavePtr = (Slave *) ckalloc(sizeof(Slave)); memset(slavePtr, 0, sizeof(Slave)); slavePtr->tkwin = tkwin; @@ -523,11 +523,11 @@ CreateMaster( { Tcl_HashEntry *hPtr; register Master *masterPtr; - int new; + int isNew; TkDisplay * dispPtr = ((TkWindow *) tkwin)->dispPtr; - hPtr = Tcl_CreateHashEntry(&dispPtr->masterTable, (char *) tkwin, &new); - if (new) { + hPtr = Tcl_CreateHashEntry(&dispPtr->masterTable, (char *) tkwin, &isNew); + if (isNew) { masterPtr = (Master *) ckalloc(sizeof(Master)); masterPtr->tkwin = tkwin; masterPtr->slavePtr = NULL; |