summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Kew <jfkthame@googlemail.com>2008-04-25 14:56:15 +0000
committerJonathan Kew <jfkthame@googlemail.com>2008-04-25 14:56:15 +0000
commitf06273b95dcbe743d26b354fe13c16e5e585f2ce (patch)
tree5204104437e775ffe8e567f77abcdfb3b8a60901
parent12ed7b16e1915c6d5c3453f1bce9b4802de10882 (diff)
patch from VVV for AIX build (see r.2650, lost in later update)
git-svn-id: svn://tug.org/texlive/trunk@7644 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/libs/teckit/source/Compiler.cpp8
-rw-r--r--Build/source/libs/teckit/source/Engine.cpp6
2 files changed, 7 insertions, 7 deletions
diff --git a/Build/source/libs/teckit/source/Compiler.cpp b/Build/source/libs/teckit/source/Compiler.cpp
index 66caa5cee45..6ea738f414c 100644
--- a/Build/source/libs/teckit/source/Compiler.cpp
+++ b/Build/source/libs/teckit/source/Compiler.cpp
@@ -261,13 +261,13 @@ TECkit_GetUnicodeValue(char* name)
return -1;
}
-static inline UInt8
+inline UInt8
READ(const UInt8 p)
{
return p;
}
-static inline UInt16
+inline UInt16
READ(const UInt16 p)
{
#ifdef WORDS_BIGENDIAN
@@ -277,7 +277,7 @@ READ(const UInt16 p)
#endif
}
-static inline UInt32
+inline UInt32
READ(const UInt32 p)
{
#ifdef WORDS_BIGENDIAN
@@ -288,7 +288,7 @@ READ(const UInt32 p)
}
template<class T>
-inline static void
+inline void
WRITE(T& t, UInt32 v)
{
t = READ(T(v));
diff --git a/Build/source/libs/teckit/source/Engine.cpp b/Build/source/libs/teckit/source/Engine.cpp
index 02c7937e12a..a2ac8bae25b 100644
--- a/Build/source/libs/teckit/source/Engine.cpp
+++ b/Build/source/libs/teckit/source/Engine.cpp
@@ -76,13 +76,13 @@ int traceLevel = 1;
using namespace std;
/* we apply READ to values read from the compiled table, to provide byte-swapping where needed */
-static inline UInt8
+inline UInt8
READ(const UInt8 p)
{
return p;
}
-static inline UInt16
+inline UInt16
READ(const UInt16 p)
{
#ifdef WORDS_BIGENDIAN
@@ -92,7 +92,7 @@ READ(const UInt16 p)
#endif
}
-static inline UInt32
+inline UInt32
READ(const UInt32 p)
{
#ifdef WORDS_BIGENDIAN