Locale Build Failure #2
Craig Howland
howland@LGSInnovations.com
Tue Aug 16 18:35:00 GMT 2016
On 08/16/2016 02:17 PM, Corinna Vinschen wrote:
> -char *
> +const char *
> _DEFUN_VOID (__locale_ctype_ptr)
> {
> /* Only check if the current thread/reent has a locale. ctype_ptr is unused
> @@ -992,7 +992,7 @@ _DEFUN_VOID (__locale_ctype_ptr)
> : __ctype_ptr__;
> }
With the recent general change to drop original K&R-style, as long is this is
being edited, how about also
-_DEFUN_VOID (__locale_ctype_ptr)
+__locale_ctype_ptr(void)
(more readable, compares more easily against the "char *__locale_ctype_ptr
(void);" prototype)?
More information about the Newlib
mailing list