Re: [PATCH] Use global stdio streams for all configurations

Sebastian Huber <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
On 19/05/2022 19:05, Sebastian Huber wrote:
> @@ -776,8 +681,7 @@ struct _reent
>       (var)->_new._reent._r48._mult[0] = _RAND48_MULT_0; \
>       (var)->_new._reent._r48._mult[1] = _RAND48_MULT_1; \
>       (var)->_new._reent._r48._mult[2] = _RAND48_MULT_2; \
> -    (var)->_new._reent._r48._add = _RAND48_ADD; \
> -    _REENT_INIT_SGLUE_ZEROED(var) \
> +    (var)->_new._reent._r48._add = _RAND48_ADD \

There is a missing ';' in the patch. This should be:

+    (var)->_new._reent._r48._add = _RAND48_ADD; \

>     }
>   
>   #define _REENT_CHECK_RAND48(ptr)	/* nothing */

-- 
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: [email protected]
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.