[newlib-cygwin] inttypes.h: Use reserved names for function parameters

Jeff Johnston jjohnstn@sourceware.org
Fri Jun 25 20:49:19 GMT 2021


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=a39ae40b86d3d4acb7d360d6d18b09ebf4e98fcd

commit a39ae40b86d3d4acb7d360d6d18b09ebf4e98fcd
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Fri Jun 25 16:44:22 2021 -0400

    inttypes.h: Use reserved names for function parameters

Diff:
---
 newlib/libc/include/inttypes.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/newlib/libc/include/inttypes.h b/newlib/libc/include/inttypes.h
index 570ed0481..417ff224c 100644
--- a/newlib/libc/include/inttypes.h
+++ b/newlib/libc/include/inttypes.h
@@ -321,7 +321,7 @@ extern "C" {
 #endif
 
 extern intmax_t  imaxabs(intmax_t);
-extern imaxdiv_t imaxdiv(intmax_t numer, intmax_t denomer);
+extern imaxdiv_t imaxdiv(intmax_t __numer, intmax_t __denomer);
 extern intmax_t  strtoimax(const char *__restrict, char **__restrict, int);
 extern intmax_t  _strtoimax_r(struct _reent *, const char *__restrict, char **__restrict, int);
 extern uintmax_t strtoumax(const char *__restrict, char **__restrict, int);


More information about the Newlib-cvs mailing list