mirror of
https://github.com/reactos/reactos.git
synced 2024-11-28 05:53:31 +08:00
[CRTDLL][CRT] Remove remnant declaration, silence cppcheck false positive.
* _atexit_cleanup is no longer used * Fix cppcheck 'pointerSize' warning
This commit is contained in:
parent
9e20be0fbf
commit
4213c70e2e
@ -32,7 +32,6 @@ extern void __getmainargs( int *argc, char ***argv, char ***envp,
|
||||
extern int BlockEnvToEnvironA(void);
|
||||
extern int BlockEnvToEnvironW(void);
|
||||
extern void FreeEnvironment(char **environment);
|
||||
extern void _atexit_cleanup(void);
|
||||
|
||||
extern unsigned int _osver;
|
||||
extern unsigned int _winminor;
|
||||
|
@ -69,7 +69,7 @@ _onexit_t CDECL _onexit(_onexit_t func)
|
||||
{
|
||||
_onexit_t *newtable;
|
||||
TRACE("expanding table\n");
|
||||
newtable = calloc(atexit_table_size + 32, sizeof(void *));
|
||||
newtable = calloc(atexit_table_size + 32, sizeof(_onexit_t));
|
||||
if (!newtable)
|
||||
{
|
||||
TRACE("failed!\n");
|
||||
|
Loading…
Reference in New Issue
Block a user