summaryrefslogtreecommitdiffstats
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)
commitaf91ab97f21de4a51a98a60e5ada93b4441cb36c (patch)
tree68462683e392b7d85b71da90a6ff556dc53a13d9
parent935cc9f3df382c52b404efc98f2d66f8632153ca (diff)
downloadtcl-af91ab97f21de4a51a98a60e5ada93b4441cb36c.zip
tcl-af91ab97f21de4a51a98a60e5ada93b4441cb36c.tar.gz
tcl-af91ab97f21de4a51a98a60e5ada93b4441cb36c.tar.bz2
Purge remnants of support for compilers ignorant of C keyword 'inline'.
-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. */