summaryrefslogtreecommitdiffstats
path: root/generic/tclStubInit.c
diff options
context:
space:
mode:
authordkf <dkf@noemail.net>2010-04-26 13:32:27 (GMT)
committerdkf <dkf@noemail.net>2010-04-26 13:32:27 (GMT)
commit6cf96ddd1d7489b3514ba3d19255fd0d86d0f970 (patch)
treebeae9fa3d62ee64084d9bbaa609e5c4c61fde8a5 /generic/tclStubInit.c
parent30399046b8c47640c2844d32d48c687fd527de4d (diff)
downloadtcl-6cf96ddd1d7489b3514ba3d19255fd0d86d0f970.zip
tcl-6cf96ddd1d7489b3514ba3d19255fd0d86d0f970.tar.gz
tcl-6cf96ddd1d7489b3514ba3d19255fd0d86d0f970.tar.bz2
* generic/tclStubInit.c: Add a small amount of gcc-isms (with #ifdef
* generic/tclOOStubInit.c: guards) to ensure that warnings are issued when these files are older than the various *.decls files. FossilOrigin-Name: 724ca31ab69a6033796fca65988358649fa480f6
Diffstat (limited to 'generic/tclStubInit.c')
-rw-r--r--generic/tclStubInit.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/generic/tclStubInit.c b/generic/tclStubInit.c
index 7cfa58a..d27f626 100644
--- a/generic/tclStubInit.c
+++ b/generic/tclStubInit.c
@@ -8,12 +8,18 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclStubInit.c,v 1.190 2010/04/02 21:21:06 kennykb Exp $
+ * RCS: @(#) $Id: tclStubInit.c,v 1.191 2010/04/26 13:32:33 dkf Exp $
*/
#include "tclInt.h"
#include "tommath.h"
+#ifdef __GNUC__
+#pragma GCC dependency "tcl.decls"
+#pragma GCC dependency "tclInt.decls"
+#pragma GCC dependency "tclTomMath.decls"
+#endif
+
/*
* Remove macros that will interfere with the definitions below.
*/