From 362846428447876357d9de69fea9dc7fc4199225 Mon Sep 17 00:00:00 2001 From: apio Date: Tue, 2 May 2023 20:47:16 +0200 Subject: [PATCH] libc: Fix some naming inconsistencies --- libc/include/stdlib.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libc/include/stdlib.h b/libc/include/stdlib.h index 2dc31332..b7ed9819 100644 --- a/libc/include/stdlib.h +++ b/libc/include/stdlib.h @@ -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();