summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-06-24 07:12:32 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-06-24 07:12:32 (GMT)
commita769ee494cca67958b20b1472a4d61b8d5e8a0fb (patch)
treeab8b8f72aaa29bc45023ee09551110e5e8488d2c
parent5bad06a9a453a043661695e582ef7c9f7f3647fc (diff)
downloadtcl-a769ee494cca67958b20b1472a4d61b8d5e8a0fb.zip
tcl-a769ee494cca67958b20b1472a4d61b8d5e8a0fb.tar.gz
tcl-a769ee494cca67958b20b1472a4d61b8d5e8a0fb.tar.bz2
Put back seemingly useless typedefs (yes, there are picky compilers)
-rw-r--r--generic/tcl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index 94c236a..3b9d483 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -578,6 +578,14 @@ typedef struct Tcl_RegExpInfo {
} Tcl_RegExpInfo;
/*
+ * Picky compilers complain if this typdef doesn't appear before the struct's
+ * reference in tclDecls.h.
+ */
+
+typedef Tcl_StatBuf *Tcl_Stat_;
+typedef struct stat *Tcl_OldStat_;
+
+/*
*----------------------------------------------------------------------------
* When a TCL command returns, the interpreter contains a result from the
* command. Programmers are strongly encouraged to use one of the functions