summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2012-11-29 21:25:52 (GMT)
committerdgp <dgp@users.sourceforge.net>2012-11-29 21:25:52 (GMT)
commitb2ca802381bc6f87b8d9e5255941c3c6ce735240 (patch)
tree68462683e392b7d85b71da90a6ff556dc53a13d9 /generic
parentb05600e60ad35cb737437061dd6142465741581d (diff)
downloadtcl-b2ca802381bc6f87b8d9e5255941c3c6ce735240.zip
tcl-b2ca802381bc6f87b8d9e5255941c3c6ce735240.tar.gz
tcl-b2ca802381bc6f87b8d9e5255941c3c6ce735240.tar.bz2
Purge remnants of support for compilers ignorant of C keyword 'inline'.
Diffstat (limited to 'generic')
-rw-r--r--generic/tcl.h9
-rw-r--r--generic/tclUtf.c4
2 files changed, 2 insertions, 11 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index 201a45b..33bf149 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -221,15 +221,6 @@ extern "C" {
#endif
/*
- * Definitions that allow this header file to be used either with or without
- * ANSI C features.
- */
-
-#ifndef INLINE
-# define INLINE
-#endif
-
-/*
* Miscellaneous declarations.
*/
diff --git a/generic/tclUtf.c b/generic/tclUtf.c
index 4b5b37b..93ab34b 100644
--- a/generic/tclUtf.c
+++ b/generic/tclUtf.c
@@ -107,7 +107,7 @@ static int UtfCount(int ch);
*---------------------------------------------------------------------------
*/
-INLINE static int
+inline static int
UtfCount(
int ch) /* The Tcl_UniChar whose size is returned. */
{
@@ -152,7 +152,7 @@ UtfCount(
*---------------------------------------------------------------------------
*/
-INLINE int
+inline int
Tcl_UniCharToUtf(
int ch, /* The Tcl_UniChar to be stored in the
* buffer. */