Merge "Add deprecation message for __sF." into main am: a97a4754a3

Original change: https://android-review.googlesource.com/c/platform/bionic/+/3073023

Change-Id: I624755c215e574f7fbe12946aeeaa11fe404a91d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2024-05-02 22:23:52 +00:00 committed by Automerger Merge Worker
commit c897f66c3b

View file

@ -69,7 +69,7 @@ extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
#define stderr stderr #define stderr stderr
#else #else
/* Before M the actual symbols for stdin and friends had different names. */ /* Before M the actual symbols for stdin and friends had different names. */
extern FILE __sF[] __REMOVED_IN(23); extern FILE __sF[] __REMOVED_IN(23, "Use stdin/stdout/stderr");
#define stdin (&__sF[0]) #define stdin (&__sF[0])
#define stdout (&__sF[1]) #define stdout (&__sF[1])