Fix double extern "C" pointed by clang.

Change-Id: Ie595dd99d01149868a4f60354ef89fa861cf856b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2389
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
X512 2020-03-22 11:16:50 +09:00 committed by waddlesplash
parent cc0823d82e
commit 77f5125586
6 changed files with 0 additions and 8 deletions

View File

@ -85,5 +85,4 @@ __mbrtowc(wchar_t* pwc, const char* s, size_t n, mbstate_t* ps)
}
extern "C"
B_DEFINE_WEAK_ALIAS(__mbrtowc, mbrtowc);

View File

@ -101,7 +101,6 @@ __mbsnrtowcs(wchar_t* dst, const char** src, size_t nmc, size_t len,
}
extern "C"
B_DEFINE_WEAK_ALIAS(__mbsnrtowcs, mbsnrtowcs);
@ -119,5 +118,4 @@ __mbsrtowcs(wchar_t* dst, const char** src, size_t len, mbstate_t* ps)
}
extern "C"
B_DEFINE_WEAK_ALIAS(__mbsrtowcs, mbsrtowcs);

View File

@ -75,5 +75,4 @@ __wcrtomb(char* s, wchar_t wc, mbstate_t* ps)
}
extern "C"
B_DEFINE_WEAK_ALIAS(__wcrtomb, wcrtomb);

View File

@ -28,5 +28,4 @@ __wcscoll(const wchar_t* wcs1, const wchar_t* wcs2)
}
extern "C"
B_DEFINE_WEAK_ALIAS(__wcscoll, wcscoll);

View File

@ -102,7 +102,6 @@ __wcsnrtombs(char* dst, const wchar_t** src, size_t nwc, size_t len,
}
extern "C"
B_DEFINE_WEAK_ALIAS(__wcsnrtombs, wcsnrtombs);
@ -118,5 +117,4 @@ __wcsrtombs(char* dst, const wchar_t** src, size_t len, mbstate_t* ps)
}
extern "C"
B_DEFINE_WEAK_ALIAS(__wcsrtombs, wcsrtombs);

View File

@ -30,5 +30,4 @@ __wcsxfrm(wchar_t* dest, const wchar_t* src, size_t destSize)
}
extern "C"
B_DEFINE_WEAK_ALIAS(__wcsxfrm, wcsxfrm);