From cc86c743625b1d2249fa2a48587773bcf3f34df8 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Thu, 2 May 2024 18:53:45 +0000 Subject: [PATCH] Add deprecation message for __sF. Bug: None Test: treehugger Change-Id: I9dd9e77ad024c2ea292f021bb2709378f755c1d8 --- libc/include/stdio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/include/stdio.h b/libc/include/stdio.h index 32264d6d9..78114c38c 100644 --- a/libc/include/stdio.h +++ b/libc/include/stdio.h @@ -69,7 +69,7 @@ extern FILE* _Nonnull stderr __INTRODUCED_IN(23); #define stderr stderr #else /* 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 stdout (&__sF[1])