From 866f6c909faaaf6be39e5b4fab9d84c327fac0cb Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 8 Jun 2022 10:41:05 +0200 Subject: [PATCH] Clarify struct _reent comment --- newlib/libc/include/sys/reent.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/newlib/libc/include/sys/reent.h b/newlib/libc/include/sys/reent.h index 64d76c27c..5d889b4a2 100644 --- a/newlib/libc/include/sys/reent.h +++ b/newlib/libc/include/sys/reent.h @@ -350,9 +350,10 @@ struct _rand48 { /* * struct _reent * - * This structure contains *all* globals needed by the library. + * This structure contains the thread-local objects needed by the library. * It's raison d'etre is to facilitate threads by making all library routines - * reentrant. IE: All state information is contained here. + * reentrant. The exit handler support and FILE maintenance use dedicated + * global objects which are not included in this structure. */ #ifdef _REENT_SMALL