]> diplodocus.org Git - nmh/commitdiff
uip/prompter.c: Make getln() static; only called locally.
authorRalph Corderoy <ralph@inputplus.co.uk>
Thu, 25 May 2017 10:24:54 +0000 (11:24 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Thu, 25 May 2017 10:24:54 +0000 (11:24 +0100)
uip/prompter.c

index ec2ea3f..303d2ad 100644 (file)
@@ -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;