diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-11-15 11:48:05 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-11-15 11:48:05 (GMT) |
commit | 0e8c0bebc1adffa78100e1740398a43860a2d13d (patch) | |
tree | d44984046a6266997c88557bb2563ad347cd9562 /generic/tclDecls.h | |
parent | 9ae0d652824688e3ac54ef7d4df854cbedbefe72 (diff) | |
download | tcl-0e8c0bebc1adffa78100e1740398a43860a2d13d.zip tcl-0e8c0bebc1adffa78100e1740398a43860a2d13d.tar.gz tcl-0e8c0bebc1adffa78100e1740398a43860a2d13d.tar.bz2 |
Simplification: don't declare struct types that are never used.
Diffstat (limited to 'generic/tclDecls.h')
-rw-r--r-- | generic/tclDecls.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclDecls.h b/generic/tclDecls.h index 3ae8b33..2801102 100644 --- a/generic/tclDecls.h +++ b/generic/tclDecls.h @@ -1812,7 +1812,7 @@ EXTERN void Tcl_ZlibStreamSetCompressionDictionary( Tcl_ZlibStream zhandle, Tcl_Obj *compressionDictionaryObj); -typedef struct TclStubHooks { +typedef struct { const struct TclPlatStubs *tclPlatStubs; const struct TclIntStubs *tclIntStubs; const struct TclIntPlatStubs *tclIntPlatStubs; @@ -1820,7 +1820,7 @@ typedef struct TclStubHooks { typedef struct TclStubs { int magic; - const struct TclStubHooks *hooks; + const TclStubHooks *hooks; int (*tcl_PkgProvideEx) (Tcl_Interp *interp, const char *name, const char *version, const void *clientData); /* 0 */ CONST84_RETURN char * (*tcl_PkgRequireEx) (Tcl_Interp *interp, const char *name, const char *version, int exact, void *clientDataPtr); /* 1 */ |