diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-03-23 13:52:05 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-03-23 13:52:05 (GMT) |
commit | cb689d388a07704cc34424caf91ff48bf6a3953b (patch) | |
tree | 3d5a0bd2757831e42bf7c5848f145d40471f6767 /generic/tkGC.c | |
parent | 911e6945bdebb097f23426a01310bbd85891167a (diff) | |
download | tk-cb689d388a07704cc34424caf91ff48bf6a3953b.zip tk-cb689d388a07704cc34424caf91ff48bf6a3953b.tar.gz tk-cb689d388a07704cc34424caf91ff48bf6a3953b.tar.bz2 |
Eliminate "register" keyword. Use more TCL_UNUSED()
Diffstat (limited to 'generic/tkGC.c')
-rw-r--r-- | generic/tkGC.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tkGC.c b/generic/tkGC.c index c424e30..a03c156 100644 --- a/generic/tkGC.c +++ b/generic/tkGC.c @@ -66,17 +66,17 @@ static void GCInit(TkDisplay *dispPtr); GC Tk_GetGC( Tk_Window tkwin, /* Window in which GC will be used. */ - register unsigned long valueMask, + unsigned long valueMask, /* 1 bits correspond to values specified in * *valuesPtr; other values are set from * defaults. */ - register XGCValues *valuePtr) + XGCValues *valuePtr) /* Values are specified here for bits set in * valueMask. */ { ValueKey valueKey; Tcl_HashEntry *valueHashPtr, *idHashPtr; - register TkGC *gcPtr; + TkGC *gcPtr; int isNew; Drawable d, freeDrawable; TkDisplay *dispPtr = ((TkWindow *) tkwin)->dispPtr; @@ -291,7 +291,7 @@ Tk_FreeGC( GC gc) /* Graphics context to be released. */ { Tcl_HashEntry *idHashPtr; - register TkGC *gcPtr; + TkGC *gcPtr; TkDisplay *dispPtr = TkGetDisplay(display); if (!dispPtr->gcInit) { |