summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixPort.h
diff options
context:
space:
mode:
authorstanton <stanton>1999-03-10 07:04:38 (GMT)
committerstanton <stanton>1999-03-10 07:04:38 (GMT)
commit50950accea8a4e877651105374865cb6f3f48d6e (patch)
treeb83515b886272ee3c61631f31cfe3fad937dc0a7 /unix/tkUnixPort.h
parentd6904011d50a34d15964b94db8d5e7010e081ffd (diff)
downloadtk-50950accea8a4e877651105374865cb6f3f48d6e.zip
tk-50950accea8a4e877651105374865cb6f3f48d6e.tar.gz
tk-50950accea8a4e877651105374865cb6f3f48d6e.tar.bz2
integrated stubs into 8.0 main branch
Diffstat (limited to 'unix/tkUnixPort.h')
-rw-r--r--unix/tkUnixPort.h20
1 files changed, 8 insertions, 12 deletions
diff --git a/unix/tkUnixPort.h b/unix/tkUnixPort.h
index 5b0800a..590e22a 100644
--- a/unix/tkUnixPort.h
+++ b/unix/tkUnixPort.h
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixPort.h,v 1.3 1998/09/30 19:01:22 rjohnson Exp $
+ * RCS: @(#) $Id: tkUnixPort.h,v 1.4 1999/03/10 07:04:46 stanton Exp $
*/
#ifndef _UNIXPORT
@@ -176,13 +176,6 @@ extern int errno;
#endif
/*
- * Declarations for various library procedures that may not be declared
- * in any other header file.
- */
-
-extern void panic _ANSI_ARGS_(TCL_VARARGS(char *, string));
-
-/*
* These functions do nothing under Unix, so we just eliminate calls to them.
*/
@@ -221,10 +214,13 @@ extern void panic _ANSI_ARGS_(TCL_VARARGS(char *, string));
#define ALWAYS_SHOW_SELECTION
/*
- * The following declaration is used to get access to a private Tcl interface
- * that is needed for portability reasons.
+ * tclInt.h is included to get declarations of the following functions.
+ * void panic _ANSI_ARGS_(TCL_VARARGS(char *,format));
+ * void TclpGetTime _ANSI_ARGS_((Tcl_Time *time));
*/
-
-EXTERN void TclpGetTime _ANSI_ARGS_((Tcl_Time *time));
+
+#ifndef _TCLINT
+# include <tclInt.h>
+#endif
#endif /* _UNIXPORT */