summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.decls
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-12-05 13:31:22 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-12-05 13:31:22 (GMT)
commitb1e66e34704ff978d2dbacea83cc81ae8650a6d0 (patch)
tree5c2847b8460df127f25cc5ecdaf5ed634bf3a3f2 /generic/tclInt.decls
parentae09e66da466ea68e269fc388798ca6ce2cd1c4c (diff)
downloadtcl-b1e66e34704ff978d2dbacea83cc81ae8650a6d0.zip
tcl-b1e66e34704ff978d2dbacea83cc81ae8650a6d0.tar.gz
tcl-b1e66e34704ff978d2dbacea83cc81ae8650a6d0.tar.bz2
Fix gcc warning in cygwin build: implicitely declared function TclUnixOpenTemporaryFile.
Move the function to slot 30, and define it (as 0) for win32 as well.
Diffstat (limited to 'generic/tclInt.decls')
-rw-r--r--generic/tclInt.decls19
1 files changed, 9 insertions, 10 deletions
diff --git a/generic/tclInt.decls b/generic/tclInt.decls
index 8f8b992..f215d32 100644
--- a/generic/tclInt.decls
+++ b/generic/tclInt.decls
@@ -1148,9 +1148,6 @@ declare 27 win {
declare 28 win {
void TclWinResetInterfaces(void)
}
-declare 29 win {
- int TclWinCPUID(unsigned int index, unsigned int *regs)
-}
################################
# Unix specific functions
@@ -1219,12 +1216,6 @@ declare 14 unix {
const Tcl_StatBuf *statBufPtr, int dontCopyAtts)
}
-# Added in 8.6; core of TclpOpenTemporaryFile
-declare 20 unix {
- int TclUnixOpenTemporaryFile(Tcl_Obj *dirObj, Tcl_Obj *basenameObj,
- Tcl_Obj *extensionObj, Tcl_Obj *resultingNameObj)
-}
-
################################
# Mac OS X specific functions
@@ -1248,9 +1239,17 @@ declare 18 macosx {
declare 19 macosx {
void TclMacOSXNotifierAddRunLoopMode(const void *runLoopMode)
}
-declare 29 unix {
+
+declare 29 {win unix} {
int TclWinCPUID(unsigned int index, unsigned int *regs)
}
+# Added in 8.6; core of TclpOpenTemporaryFile
+declare 30 {win unix} {
+ int TclUnixOpenTemporaryFile(Tcl_Obj *dirObj, Tcl_Obj *basenameObj,
+ Tcl_Obj *extensionObj, Tcl_Obj *resultingNameObj)
+}
+
+
# Local Variables:
# mode: tcl