diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2007-02-12 21:45:41 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2007-02-12 21:45:41 (GMT) |
commit | 080368e301144ffcfbf9aedc32149a0d340a3ad9 (patch) | |
tree | e657447b19cac75cfcb003474f1eb43cdf6b48d9 /generic/tkColor.c | |
parent | a888481bcdb0bc79c8c48d101424132bf66a9e68 (diff) | |
download | tk-080368e301144ffcfbf9aedc32149a0d340a3ad9.zip tk-080368e301144ffcfbf9aedc32149a0d340a3ad9.tar.gz tk-080368e301144ffcfbf9aedc32149a0d340a3ad9.tar.bz2 |
Fix minor K&R-ism
Diffstat (limited to 'generic/tkColor.c')
-rw-r--r-- | generic/tkColor.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/generic/tkColor.c b/generic/tkColor.c index c64fe80..7619b99 100644 --- a/generic/tkColor.c +++ b/generic/tkColor.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkColor.c,v 1.13 2007/01/03 04:10:54 nijtmans Exp $ + * RCS: @(#) $Id: tkColor.c,v 1.14 2007/02/12 21:45:41 dkf Exp $ */ #include "tkColor.h" @@ -28,7 +28,6 @@ typedef struct { Display *display; /* Display for colormap. */ } ValueKey; - /* * The structure below is used to allocate thread-local data. */ @@ -737,8 +736,8 @@ InitColorObj( */ static void -ColorInit(dispPtr) - TkDisplay *dispPtr; +ColorInit( + TkDisplay *dispPtr) { if (!dispPtr->colorInit) { dispPtr->colorInit = 1; |