summaryrefslogtreecommitdiff
path: root/src/VBox/Runtime/r3/posix/utf8-posix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/VBox/Runtime/r3/posix/utf8-posix.cpp')
-rw-r--r--src/VBox/Runtime/r3/posix/utf8-posix.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/VBox/Runtime/r3/posix/utf8-posix.cpp b/src/VBox/Runtime/r3/posix/utf8-posix.cpp
index a8a7de617..1c72c4390 100644
--- a/src/VBox/Runtime/r3/posix/utf8-posix.cpp
+++ b/src/VBox/Runtime/r3/posix/utf8-posix.cpp
@@ -1,4 +1,4 @@
-/* $Id: utf8-posix.cpp $ */
+/* $Id: utf8-posix.cpp 36555 2011-04-05 12:34:09Z vboxsync $ */
/** @file
* IPRT - UTF-8 helpers, POSIX.
*/
@@ -56,7 +56,7 @@ AssertCompile(sizeof(iconv_t) <= sizeof(void *));
*
* @returns Pointer to read-only string with the codeset name.
*/
-const char *rtStrGetLocaleCodeset(void)
+DECLHIDDEN(const char *) rtStrGetLocaleCodeset(void)
{
return nl_langinfo(CODESET);
}
@@ -69,7 +69,7 @@ const char *rtStrGetLocaleCodeset(void)
*
* @param pThread The thread in question.
*/
-void rtStrIconvCacheInit(PRTTHREADINT pThread)
+DECLHIDDEN(void) rtStrIconvCacheInit(PRTTHREADINT pThread)
{
for (size_t i = 0; i < RT_ELEMENTS(pThread->ahIconvs); i++)
pThread->ahIconvs[i] = (iconv_t)-1;
@@ -80,7 +80,7 @@ void rtStrIconvCacheInit(PRTTHREADINT pThread)
*
* @param pThread The thread in question.
*/
-void rtStrIconvCacheDestroy(PRTTHREADINT pThread)
+DECLHIDDEN(void) rtStrIconvCacheDestroy(PRTTHREADINT pThread)
{
for (size_t i = 0; i < RT_ELEMENTS(pThread->ahIconvs); i++)
{
@@ -408,9 +408,9 @@ DECLINLINE(int) rtStrConvertWrapper(const char *pchInput, size_t cchInput, const
* @param cFactor Input vs. output size factor.
* @param enmCacheIdx The iconv cache index.
*/
-int rtStrConvert(const char *pchInput, size_t cchInput, const char *pszInputCS,
- char **ppszOutput, size_t cbOutput, const char *pszOutputCS,
- unsigned cFactor, RTSTRICONV enmCacheIdx)
+DECLHIDDEN(int) rtStrConvert(const char *pchInput, size_t cchInput, const char *pszInputCS,
+ char **ppszOutput, size_t cbOutput, const char *pszOutputCS,
+ unsigned cFactor, RTSTRICONV enmCacheIdx)
{
Assert(enmCacheIdx >= 0 && enmCacheIdx < RTSTRICONV_END);
return rtStrConvertWrapper(pchInput, cchInput, pszInputCS,