libc: malloc: match implementation to declaration
The identifiers used in the declaration and definition of a function shall be identical [MISRAC2012-RULE_8_3-b] Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
05d7d32122
commit
841d6f3ba6
1 changed files with 2 additions and 2 deletions
|
@ -123,10 +123,10 @@ void free(void *ptr)
|
|||
ARG_UNUSED(ptr);
|
||||
}
|
||||
|
||||
void *realloc(void *ptr, size_t requested_size)
|
||||
void *realloc(void *ptr, size_t size)
|
||||
{
|
||||
ARG_UNUSED(ptr);
|
||||
return malloc(requested_size);
|
||||
return malloc(size);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue