summaryrefslogtreecommitdiff
path: root/libc/debian/patches/libc-no-gets.patch
blob: 3465b277663a92bfd3d648df5eca14de3325b152 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Index: b/usr/src/head/iso/stdio_iso.h
===================================================================
--- a/usr/src/head/iso/stdio_iso.h
+++ b/usr/src/head/iso/stdio_iso.h
@@ -238,7 +238,6 @@ extern int	putc(int, FILE *);
 extern int	getchar(void);
 extern int	putchar(int);
 #endif
-extern char	*gets(char *);
 extern int	puts(const char *);
 extern int	ungetc(int, FILE *);
 extern size_t	fread(void *_RESTRICT_KYWD, size_t, size_t,
Index: b/usr/src/head/stdio.h
===================================================================
--- a/usr/src/head/stdio.h
+++ b/usr/src/head/stdio.h
@@ -122,7 +122,6 @@ using std::fputc;
 using std::fputs;
 using std::getc;
 using std::getchar;
-using std::gets;
 using std::putc;
 using std::putchar;
 using std::puts;