summaryrefslogtreecommitdiffstats
path: root/libcxx/include/support/win32
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2017-11-21 22:41:15 +0000
committerMartin Storsjo <martin@martin.st>2017-11-21 22:41:15 +0000
commit837c5b6b13014c353b591ba5fa8908bcdf7acc84 (patch)
tree88ddd528c24388f4378219a76dbb3cc31d848e5f /libcxx/include/support/win32
parentfeeb0b705c66442bbb0fb10823d211ce7505cb8c (diff)
downloadbcm5719-llvm-837c5b6b13014c353b591ba5fa8908bcdf7acc84.tar.gz
bcm5719-llvm-837c5b6b13014c353b591ba5fa8908bcdf7acc84.zip
Remove a broken win32 locale function redirection
One can't replace vsscanf(_l) with a sscanf(_l) that doesn't take a va_list. This has been untouched since it was added in SVN r140728, so apparently it hasn't been used since. One reason for this mistake originally might have been that there was no _vsscanf_l until MSVC 2015. Since it's unused, just remove this define. Differential Revision: https://reviews.llvm.org/D40323 llvm-svn: 318810
Diffstat (limited to 'libcxx/include/support/win32')
-rw-r--r--libcxx/include/support/win32/locale_win32.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/libcxx/include/support/win32/locale_win32.h b/libcxx/include/support/win32/locale_win32.h
index 113c10753e4..ea7cc9ca689 100644
--- a/libcxx/include/support/win32/locale_win32.h
+++ b/libcxx/include/support/win32/locale_win32.h
@@ -106,7 +106,6 @@ isupper_l(int c, _locale_t loc)
#define strftime_l _strftime_l
#endif
#define sscanf_l( __s, __l, __f, ...) _sscanf_l( __s, __f, __l, __VA_ARGS__ )
-#define vsscanf_l( __s, __l, __f, ...) _sscanf_l( __s, __f, __l, __VA_ARGS__ )
#define sprintf_l( __s, __l, __f, ... ) _sprintf_l( __s, __f, __l, __VA_ARGS__ )
#define vsprintf_l( __s, __l, __f, ... ) _vsprintf_l( __s, __f, __l, __VA_ARGS__ )
#define vsnprintf_l( __s, __n, __l, __f, ... ) _vsnprintf_l( __s, __n, __f, __l, __VA_ARGS__ )
OpenPOWER on IntegriCloud