Merge "Make gets() deprecated."
diff --git a/libc/include/stdio.h b/libc/include/stdio.h
index ff454da..17ef096 100644
--- a/libc/include/stdio.h
+++ b/libc/include/stdio.h
@@ -264,7 +264,7 @@
#ifndef __AUDIT__
#if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 201112L
-char* gets(char*) __warnattr("gets is very unsafe; consider using fgets");
+char* gets(char*) __attribute__((deprecated("gets is very unsafe; consider using fgets")));
#endif
int sprintf(char* __restrict, const char* __restrict, ...)
__printflike(2, 3) __warnattr("sprintf is often misused; please use snprintf");