Merge "Add deprecation message for __sF." into main

This commit is contained in:
Treehugger Robot 2024-05-02 22:19:13 +00:00 committed by Gerrit Code Review
commit a97a4754a3

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])