Cleanup: LocaleBackend.h is not a local header for wchar.

This commit is contained in:
Oliver Tappe 2012-01-07 21:48:39 +01:00
parent bd55dcbefb
commit d7965519f2
4 changed files with 8 additions and 11 deletions

View File

@ -8,7 +8,7 @@
#include <wchar.h>
#include <errno_private.h>
#include "LocaleBackend.h"
#include <LocaleBackend.h>
//#define TRACE_MBRTOWC

View File

@ -8,7 +8,7 @@
#include <wchar.h>
#include <errno_private.h>
#include "LocaleBackend.h"
#include <LocaleBackend.h>
//#define TRACE_MBSRTOWCS
@ -101,9 +101,8 @@ __mbsnrtowcs(wchar_t* dst, const char** src, size_t nmc, size_t len,
}
// deactivated, as mbsnrtowcs() isn't publically available yet.
//extern "C"
//B_DEFINE_WEAK_ALIAS(__mbsnrtowcs, mbsnrtowcs);
extern "C"
B_DEFINE_WEAK_ALIAS(__mbsnrtowcs, mbsnrtowcs);
extern "C" size_t

View File

@ -8,7 +8,7 @@
#include <wchar.h>
#include <errno_private.h>
#include "LocaleBackend.h"
#include <LocaleBackend.h>
//#define TRACE_WCRTOMB

View File

@ -8,10 +8,9 @@
#include <wchar.h>
#include <errno_private.h>
#include <LocaleBackend.h>
#include <wchar_private.h>
#include "LocaleBackend.h"
//#define TRACE_WCSRTOMBS
#ifdef TRACE_WCSRTOMBS
@ -103,9 +102,8 @@ __wcsnrtombs(char* dst, const wchar_t** src, size_t nwc, size_t len,
}
// deactivated, as wcsnrtombs() isn't publically available yet.
//extern "C"
//B_DEFINE_WEAK_ALIAS(__wcsnrtombs, wcsnrtombs);
extern "C"
B_DEFINE_WEAK_ALIAS(__wcsnrtombs, wcsnrtombs);
extern "C" size_t