about summary refs log tree commit diff
path: root/libio
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-12-27 09:53:32 -0500
committerUlrich Drepper <drepper@gmail.com>2012-01-01 07:17:22 -0500
commit16578fa7b34a92c40f6c657ddadc33a7384b6537 (patch)
tree84e0db1fb5f00a03725f2a12f292bb505586241c /libio
parent8b43a4cc567222ed61f157eccc0a8e1411082994 (diff)
downloadglibc-16578fa7b34a92c40f6c657ddadc33a7384b6537.tar.gz
glibc-16578fa7b34a92c40f6c657ddadc33a7384b6537.tar.xz
glibc-16578fa7b34a92c40f6c657ddadc33a7384b6537.zip
Better gets prototype and fallout from removal
Diffstat (limited to 'libio')
-rw-r--r--libio/stdio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/stdio.h b/libio/stdio.h
index 3656bb5590..b39202879c 100644
--- a/libio/stdio.h
+++ b/libio/stdio.h
@@ -638,7 +638,7 @@ extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
 
    This function is a possible cancellation point and therefore not
    marked with __THROW.  */
-extern char *gets (char *__s) __wur;
+extern char *gets (char *__s) __wur __attribute_deprecated__;
 #endif
 __END_NAMESPACE_STD