From 16578fa7b34a92c40f6c657ddadc33a7384b6537 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 27 Dec 2011 09:53:32 -0500 Subject: Better gets prototype and fallout from removal --- libio/stdio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libio') 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 -- cgit v1.2.3