summaryrefslogtreecommitdiffstats
path: root/generic/tkIntXlibDecls.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/tkIntXlibDecls.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/tkIntXlibDecls.h')
-rw-r--r--generic/tkIntXlibDecls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkIntXlibDecls.h b/generic/tkIntXlibDecls.h
index 5b0f267..70c63d5 100644
--- a/generic/tkIntXlibDecls.h
+++ b/generic/tkIntXlibDecls.h
@@ -620,7 +620,7 @@ EXTERN int XSync(Display *display, Bool flag);
typedef struct TkIntXlibStubs {
int magic;
- const struct TkIntXlibStubHooks *hooks;
+ void *hooks;
#if defined(__WIN32__) || defined(__CYGWIN__) /* WIN */
int (*xSetDashes) (Display *display, GC gc, int dash_offset, _Xconst char *dash_list, int n); /* 0 */