From: Ralph Corderoy Date: Thu, 25 May 2017 10:24:54 +0000 (+0100) Subject: uip/prompter.c: Make getln() static; only called locally. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/68e6f227c103b3f8d975cd9d4996058d00b31be0 uip/prompter.c: Make getln() static; only called locally. --- diff --git a/uip/prompter.c b/uip/prompter.c index ec2ea3fb..303d2ad4 100644 --- a/uip/prompter.c +++ b/uip/prompter.c @@ -47,7 +47,7 @@ static jmp_buf sigenv; /* * prototypes */ -int getln (char *, int); +static int getln (char *, int); static int chrcnv (char *); static void chrdsp (char *, char); static void intrser (int); @@ -312,7 +312,7 @@ abort: } -int +static int getln (char *buffer, int n) { int c;