blob: f24674247916f54e8a7134096851617264a14b43 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
$NetBSD: patch-af,v 1.1 2011/01/15 17:46:01 tron Exp $
Remove unused custom function "getline" which conflicts with getline(3)
which is part of the POSIX standard.
--- lib/stdio/fgetline.c.orig 2000-12-03 11:19:29.000000000 +0000
+++ lib/stdio/fgetline.c 2011-01-15 17:42:18.000000000 +0000
@@ -62,11 +62,3 @@
return (bp - buf);
}
-
-EXPORT int
-getline(buf, len)
- char *buf;
- int len;
-{
- return (fgetline(stdin, buf, len));
-}
|