freebsd-ports/editors/gate/files/patch-line.c
2016-05-13 19:01:27 +00:00

11 lines
448 B
C

--- line.c.orig 2003-06-19 15:06:54 UTC
+++ line.c
@@ -82,7 +82,7 @@ void mcursor(int *col, int *lin, char ch
* If <wbuf> is NULL, then this does a more ordinary, wrapless read.
*/
-int getline(char *buf, char *wbuf, int *wcol, char *prompt)
+int get_line(char *buf, char *wbuf, int *wcol, char *prompt)
{
int linemode= (wbuf == NULL); /* reading single line, not file */
int wrapon= !linemode; /* is line wrap enabled? */