libc: Fix some naming inconsistencies
This commit is contained in:
parent
d1801d484c
commit
3628464284
@ -35,16 +35,16 @@ extern "C"
|
||||
#endif
|
||||
|
||||
/* Return the absolute value of an integer. */
|
||||
int abs(int v);
|
||||
int abs(int);
|
||||
|
||||
/* Return the absolute value of a long integer. */
|
||||
long labs(long v);
|
||||
long labs(long);
|
||||
|
||||
/* Return the absolute value of a long long integer. */
|
||||
long long llabs(long long v);
|
||||
long long llabs(long long);
|
||||
|
||||
/* Return the result of dividing two integers, including the remainder. */
|
||||
div_t div(int num, int den);
|
||||
div_t div(int, int);
|
||||
|
||||
/* Return the result of dividing two long integers, including the remainder. */
|
||||
ldiv_t ldiv(long, long);
|
||||
@ -62,7 +62,7 @@ extern "C"
|
||||
void* realloc(void* ptr, size_t size);
|
||||
|
||||
/* Free heap memory. */
|
||||
void free(void*);
|
||||
void free(void* ptr);
|
||||
|
||||
/* Abort the program without performing any normal cleanup. */
|
||||
__noreturn void abort();
|
||||
|
Loading…
Reference in New Issue
Block a user