[CRTDLL][CRT] Remove remnant declaration, silence cppcheck false positive.

* _atexit_cleanup is no longer used
* Fix cppcheck 'pointerSize' warning
This commit is contained in:
Serge Gautherie 2020-06-01 21:29:02 +02:00 committed by Thomas Faber
parent 9e20be0fbf
commit 4213c70e2e
No known key found for this signature in database
GPG Key ID: 076E7C3D44720826
2 changed files with 1 additions and 2 deletions

View File

@ -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;

View File

@ -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");