[UCRT] Fix non-standard extern "C" usage

This commit is contained in:
Timo Kreuzer 2024-10-13 10:05:04 +02:00
parent 9ed5151de9
commit ffd69754f9
27 changed files with 104 additions and 102 deletions

View file

@ -307,13 +307,13 @@ auto __acrt_lock_stream_and_call(FILE* const stream, Action&& action) throw()
* the number of stdio-level files which may be open simultaneously. This
* is normally set to _NSTREAM_ by the stdio initialization code.
*/
extern "C" extern int _nstream;
extern "C" int _nstream;
/*
* Pointer to the array of pointers to FILE structures that are used
* to manage stdio-level files.
*/
extern "C" extern __crt_stdio_stream_data** __piob;
extern "C" __crt_stdio_stream_data** __piob;
// __acrt_stdio_is_initialized cannot be with the rest of
// stdio initialization logic since referencing those symbols