libc: strtol/strtoul: 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
97bf53fdcf
commit
4f52519c7e
1 changed files with 2 additions and 2 deletions
|
@ -14,8 +14,8 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
unsigned long int strtoul(const char *str, char **endptr, int base);
|
unsigned long strtoul(const char *nptr, char **endptr, int base);
|
||||||
long int strtol(const char *str, char **endptr, int base);
|
long strtol(const char *nptr, char **endptr, int base);
|
||||||
int atoi(const char *s);
|
int atoi(const char *s);
|
||||||
|
|
||||||
void *malloc(size_t size);
|
void *malloc(size_t size);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue