diff options
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkBitmap.c | 2 | ||||
-rw-r--r-- | generic/tkButton.c | 2 | ||||
-rw-r--r-- | generic/tkColor.c | 2 | ||||
-rw-r--r-- | generic/tkConfig.c | 2 | ||||
-rw-r--r-- | generic/tkEvent.c | 2 | ||||
-rw-r--r-- | generic/tkGet.c | 2 | ||||
-rw-r--r-- | generic/tkImage.c | 2 | ||||
-rw-r--r-- | generic/tkImgPhoto.c | 2 | ||||
-rw-r--r-- | generic/tkMacWinMenu.c | 2 | ||||
-rw-r--r-- | generic/tkMenu.c | 2 | ||||
-rw-r--r-- | generic/tkObj.c | 2 | ||||
-rw-r--r-- | generic/tkOption.c | 2 | ||||
-rw-r--r-- | generic/tkPointer.c | 2 | ||||
-rw-r--r-- | generic/tkSelect.c | 2 | ||||
-rw-r--r-- | generic/tkStyle.c | 2 | ||||
-rw-r--r-- | generic/tkWindow.c | 2 |
16 files changed, 16 insertions, 16 deletions
diff --git a/generic/tkBitmap.c b/generic/tkBitmap.c index 0ab922b..f642174 100644 --- a/generic/tkBitmap.c +++ b/generic/tkBitmap.c @@ -88,7 +88,7 @@ typedef struct { int width, height; /* Dimensions of bitmap. */ } DataKey; -typedef struct ThreadSpecificData { +typedef struct { int initialized; /* 0 means table below needs initializing. */ Tcl_HashTable predefBitmapTable; /* Hash table created by Tk_DefineBitmap to diff --git a/generic/tkButton.c b/generic/tkButton.c index a181056..2f43f13 100644 --- a/generic/tkButton.c +++ b/generic/tkButton.c @@ -16,7 +16,7 @@ #include "tkButton.h" #include "default.h" -typedef struct ThreadSpecificData { +typedef struct { int defaultsInitialized; } ThreadSpecificData; static Tcl_ThreadDataKey dataKey; diff --git a/generic/tkColor.c b/generic/tkColor.c index 3a82545..2f51b27 100644 --- a/generic/tkColor.c +++ b/generic/tkColor.c @@ -31,7 +31,7 @@ typedef struct { * The structure below is used to allocate thread-local data. */ -typedef struct ThreadSpecificData { +typedef struct { char rgbString[20]; /* */ } ThreadSpecificData; static Tcl_ThreadDataKey dataKey; diff --git a/generic/tkConfig.c b/generic/tkConfig.c index 7b84207..461be56 100644 --- a/generic/tkConfig.c +++ b/generic/tkConfig.c @@ -31,7 +31,7 @@ * the option tables that have been created for a thread. */ -typedef struct ThreadSpecificData { +typedef struct { int initialized; /* 0 means table below needs initializing. */ Tcl_HashTable hashTable; } ThreadSpecificData; diff --git a/generic/tkEvent.c b/generic/tkEvent.c index 891f667..b36d5de 100644 --- a/generic/tkEvent.c +++ b/generic/tkEvent.c @@ -139,7 +139,7 @@ typedef struct ExitHandler { * storage for the current thread. */ -typedef struct ThreadSpecificData { +typedef struct { int handlersActive; /* The following variable has a non-zero value * when a handler is active. */ InProgress *pendingPtr; /* Topmost search in progress, or NULL if diff --git a/generic/tkGet.c b/generic/tkGet.c index d58b4a5..6eff3a3 100644 --- a/generic/tkGet.c +++ b/generic/tkGet.c @@ -22,7 +22,7 @@ * the current thread. */ -typedef struct ThreadSpecificData { +typedef struct { int initialized; Tcl_HashTable uidTable; } ThreadSpecificData; diff --git a/generic/tkImage.c b/generic/tkImage.c index 3829dff..ca00d44 100644 --- a/generic/tkImage.c +++ b/generic/tkImage.c @@ -66,7 +66,7 @@ typedef struct ImageMaster { * when the world is falling apart.) */ } ImageMaster; -typedef struct ThreadSpecificData { +typedef struct { Tk_ImageType *imageTypeList;/* First in a list of all known image * types. */ Tk_ImageType *oldImageTypeList; diff --git a/generic/tkImgPhoto.c b/generic/tkImgPhoto.c index 95904b9..23ee142 100644 --- a/generic/tkImgPhoto.c +++ b/generic/tkImgPhoto.c @@ -131,7 +131,7 @@ Tk_ImageType tkPhotoImageType = { NULL }; -typedef struct ThreadSpecificData { +typedef struct { Tk_PhotoImageFormat *formatList; /* Pointer to the first in the list of known * photo image formats.*/ diff --git a/generic/tkMacWinMenu.c b/generic/tkMacWinMenu.c index e6b673c..0417185 100644 --- a/generic/tkMacWinMenu.c +++ b/generic/tkMacWinMenu.c @@ -13,7 +13,7 @@ #include "tkInt.h" #include "tkMenu.h" -typedef struct ThreadSpecificData { +typedef struct { int postCommandGeneration; } ThreadSpecificData; static Tcl_ThreadDataKey dataKey; diff --git a/generic/tkMenu.c b/generic/tkMenu.c index 1e9e958..8385aba 100644 --- a/generic/tkMenu.c +++ b/generic/tkMenu.c @@ -77,7 +77,7 @@ #define MENU_HASH_KEY "tkMenus" -typedef struct ThreadSpecificData { +typedef struct { int menusInitialized; /* Flag indicates whether thread-specific * elements of the Windows Menu module have * been initialized. */ diff --git a/generic/tkObj.c b/generic/tkObj.c index 419a144..de92bdf 100644 --- a/generic/tkObj.c +++ b/generic/tkObj.c @@ -47,7 +47,7 @@ typedef struct PixelRep { * thread. */ -typedef struct ThreadSpecificData { +typedef struct { const Tcl_ObjType *doubleTypePtr; const Tcl_ObjType *intTypePtr; } ThreadSpecificData; diff --git a/generic/tkOption.c b/generic/tkOption.c index 5ffb301..5754dbf 100644 --- a/generic/tkOption.c +++ b/generic/tkOption.c @@ -176,7 +176,7 @@ typedef struct StackLevel { * of a level. */ } StackLevel; -typedef struct ThreadSpecificData { +typedef struct { int initialized; /* 0 means the ThreadSpecific Data structure * for the current thread needs to be * initialized. */ diff --git a/generic/tkPointer.c b/generic/tkPointer.c index 0141b64..6e87638 100644 --- a/generic/tkPointer.c +++ b/generic/tkPointer.c @@ -35,7 +35,7 @@ static const unsigned int buttonMasks[] = { }; #define ButtonMask(b) (buttonMasks[(b)-Button1]) -typedef struct ThreadSpecificData { +typedef struct { TkWindow *grabWinPtr; /* Window that defines the top of the grab * tree in a global grab. */ int lastState; /* Last known state flags. */ diff --git a/generic/tkSelect.c b/generic/tkSelect.c index b2dd0d9..d4188b3 100644 --- a/generic/tkSelect.c +++ b/generic/tkSelect.c @@ -48,7 +48,7 @@ typedef struct LostCommand { * The structure below is used to keep each thread's pending list separate. */ -typedef struct ThreadSpecificData { +typedef struct { TkSelInProgress *pendingPtr; /* Topmost search in progress, or NULL if * none. */ diff --git a/generic/tkStyle.c b/generic/tkStyle.c index 5d65f88..393becc 100644 --- a/generic/tkStyle.c +++ b/generic/tkStyle.c @@ -98,7 +98,7 @@ typedef struct Element { * Thread-local data. */ -typedef struct ThreadSpecificData { +typedef struct { int nbInit; /* Number of calls to the init proc. */ Tcl_HashTable engineTable; /* Map a name to a style engine. Keys are * strings, values are Tk_StyleEngine diff --git a/generic/tkWindow.c b/generic/tkWindow.c index 020b3b9..631c6e7 100644 --- a/generic/tkWindow.c +++ b/generic/tkWindow.c @@ -37,7 +37,7 @@ typedef struct TkHalfdeadWindow { struct TkHalfdeadWindow *nextPtr; } TkHalfdeadWindow; -typedef struct ThreadSpecificData { +typedef struct { int numMainWindows; /* Count of numver of main windows currently * open in this thread. */ TkMainInfo *mainWindowList; |