aboutsummaryrefslogtreecommitdiff
path: root/comms/yaps/files/patch-pager.h
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2016-08-01 06:13:41 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2016-08-01 06:13:41 +0000
commitde43b1e9363a8ec454566e6f4b4e28076288fafa (patch)
tree6db06768fac9e7817ab1296a44073417220f965d /comms/yaps/files/patch-pager.h
parentabda914437b027a13ef54b1aca85097880f81cdb (diff)
downloadports-de43b1e9363a8ec454566e6f4b4e28076288fafa.tar.gz
ports-de43b1e9363a8ec454566e6f4b4e28076288fafa.zip
Fix collision with getline(3)
Notes
Notes: svn path=/head/; revision=419426
Diffstat (limited to 'comms/yaps/files/patch-pager.h')
-rw-r--r--comms/yaps/files/patch-pager.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/comms/yaps/files/patch-pager.h b/comms/yaps/files/patch-pager.h
new file mode 100644
index 000000000000..41dcd8df3ed8
--- /dev/null
+++ b/comms/yaps/files/patch-pager.h
@@ -0,0 +1,11 @@
+--- pager.h.orig 1997-06-12 11:59:28 UTC
++++ pager.h
+@@ -67,7 +67,7 @@ typedef struct {
+ /*{{{ utility */
+ extern char *skip (char *str);
+ extern char *skipch (char *str, char ch);
+-extern char *getline (FILE *fp, Bool cont);
++extern char *get_line (FILE *fp, Bool cont);
+ extern int verbose_out (char *, ...);
+ /*}}}*/
+ /*{{{ string handling */