From 68e6f227c103b3f8d975cd9d4996058d00b31be0 Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Thu, 25 May 2017 11:24:54 +0100 Subject: [PATCH] uip/prompter.c: Make getln() static; only called locally. --- uip/prompter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.56.0