openbsd-ports/net/wol/patches/patch-lib_getline_h
2012-03-20 16:46:41 +00:00

17 lines
451 B
Plaintext

$OpenBSD: patch-lib_getline_h,v 1.1 2012/03/20 16:46:41 naddy Exp $
--- lib/getline.h.orig Tue Mar 20 10:44:02 2012
+++ lib/getline.h Tue Mar 20 10:44:28 2012
@@ -28,10 +28,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston,
# endif
# if __GLIBC__ < 2
-int
+ssize_t
getline PARAMS ((char **_lineptr, size_t *_n, FILE *_stream));
-int
+ssize_t
getdelim PARAMS ((char **_lineptr, size_t *_n, int _delimiter, FILE *_stream));
# endif