mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 17:32:32 +00:00
[UCRT] Fix non-standard extern "C" usage
This commit is contained in:
parent
9ed5151de9
commit
ffd69754f9
27 changed files with 104 additions and 102 deletions
|
@ -18,7 +18,7 @@
|
|||
#define _INIT_ABORT_BEHAVIOR _CALL_REPORTFAULT
|
||||
#endif
|
||||
|
||||
extern "C" unsigned int __abort_behavior = _INIT_ABORT_BEHAVIOR;
|
||||
extern "C" { unsigned int __abort_behavior = _INIT_ABORT_BEHAVIOR; }
|
||||
|
||||
/***
|
||||
*void abort() - abort the current program by raising SIGABRT
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
|
||||
static long c_termination_complete = FALSE;
|
||||
|
||||
extern "C" extern _onexit_table_t __acrt_atexit_table;
|
||||
extern "C" extern _onexit_table_t __acrt_at_quick_exit_table;
|
||||
extern "C" _onexit_table_t __acrt_atexit_table;
|
||||
extern "C" _onexit_table_t __acrt_at_quick_exit_table;
|
||||
|
||||
// thread_local atexit dtor handling. The APPCRT exports a function to set the
|
||||
// callback function. The exe main function will call this to set the callback
|
||||
|
|
|
@ -22,8 +22,8 @@
|
|||
|
||||
|
||||
// The global atexit and at_quick_exit registries
|
||||
extern "C" _onexit_table_t __acrt_atexit_table{};
|
||||
extern "C" _onexit_table_t __acrt_at_quick_exit_table{};
|
||||
extern "C" { _onexit_table_t __acrt_atexit_table{}; }
|
||||
extern "C" { _onexit_table_t __acrt_at_quick_exit_table{}; }
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue