summaryrefslogtreecommitdiffstats
path: root/generic/tkDecls.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-11-15 11:55:38 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-11-15 11:55:38 (GMT)
commit288ad484e12428120ca1d8ba72750eb66ed9df44 (patch)
treedaaa7172969e913fc93a5049865bf14fc3f8cd7d /generic/tkDecls.h
parented064e742e36ba2e1783c612611bc825ce79b094 (diff)
downloadtk-288ad484e12428120ca1d8ba72750eb66ed9df44.zip
tk-288ad484e12428120ca1d8ba72750eb66ed9df44.tar.gz
tk-288ad484e12428120ca1d8ba72750eb66ed9df44.tar.bz2
Simplification: don't declare struct types that are never used.
Diffstat (limited to 'generic/tkDecls.h')
-rw-r--r--generic/tkDecls.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkDecls.h b/generic/tkDecls.h
index d080e93..4de4c23 100644
--- a/generic/tkDecls.h
+++ b/generic/tkDecls.h
@@ -865,7 +865,7 @@ EXTERN void reserved274(void);
/* 275 */
EXTERN void reserved275(void);
-typedef struct TkStubHooks {
+typedef struct {
const struct TkPlatStubs *tkPlatStubs;
const struct TkIntStubs *tkIntStubs;
const struct TkIntPlatStubs *tkIntPlatStubs;
@@ -874,7 +874,7 @@ typedef struct TkStubHooks {
typedef struct TkStubs {
int magic;
- const struct TkStubHooks *hooks;
+ const TkStubHooks *hooks;
void (*tk_MainLoop) (void); /* 0 */
XColor * (*tk_3DBorderColor) (Tk_3DBorder border); /* 1 */