summaryrefslogtreecommitdiffstats
path: root/generic/tclDecls.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-11-15 11:48:05 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-11-15 11:48:05 (GMT)
commit0e8c0bebc1adffa78100e1740398a43860a2d13d (patch)
treed44984046a6266997c88557bb2563ad347cd9562 /generic/tclDecls.h
parent9ae0d652824688e3ac54ef7d4df854cbedbefe72 (diff)
downloadtcl-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.h4
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 */