diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2014-03-25 15:24:13 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2014-03-25 15:24:13 +0000 |
commit | 762f6fdc4275225bb1067ab225f76d1f4b1ba5e1 (patch) | |
tree | 0fec36900a737fe7bfae8c36e0e1f58e3e6f9524 | |
parent | 71cee2ac78aecde8cc843a502c31b0b56bd162d1 (diff) |
no gets
-rw-r--r-- | include/stdio.h | 4 | ||||
-rw-r--r-- | lib/libc/stdio/stdio.3 | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/include/stdio.h b/include/stdio.h index 6b90aa4c485..54bd748b15d 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -1,4 +1,4 @@ -/* $OpenBSD: stdio.h,v 1.46 2014/03/16 18:38:30 guenther Exp $ */ +/* $OpenBSD: stdio.h,v 1.47 2014/03/25 15:24:12 tedu Exp $ */ /* $NetBSD: stdio.h,v 1.18 1996/04/25 18:29:21 jtc Exp $ */ /*- @@ -246,7 +246,7 @@ ssize_t getdelim(char ** __restrict, size_t * __restrict, int, ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restrict); #endif -char *gets(char *); + #if __BSD_VISIBLE && !defined(__SYS_ERRLIST) #define __SYS_ERRLIST diff --git a/lib/libc/stdio/stdio.3 b/lib/libc/stdio/stdio.3 index 9df600c476e..8d12fccd47e 100644 --- a/lib/libc/stdio/stdio.3 +++ b/lib/libc/stdio/stdio.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: stdio.3,v 1.29 2013/12/04 22:58:24 deraadt Exp $ +.\" $OpenBSD: stdio.3,v 1.30 2014/03/25 15:23:27 tedu Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: December 4 2013 $ +.Dd $Mdocdate: March 25 2014 $ .Dt STDIO 3 .Os .Sh NAME @@ -244,7 +244,6 @@ definitions are explicitly removed. .It getchar Ta "get next character or word from input stream" .It getdelim Ta "read a delimited record from a stream" .It getline Ta "read a delimited record from a stream" -.It gets Ta "get a line from a stream" .It getw Ta "get next character or word from input stream" .It getwc Ta "get next wide character from input stream" .It getwchar Ta "get next wide character from input stream" |