diff options
-rw-r--r-- | Build/source/libs/teckit/source/Compiler.cpp | 8 | ||||
-rw-r--r-- | Build/source/libs/teckit/source/Engine.cpp | 6 |
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 |