summaryrefslogtreecommitdiff
path: root/sysutils/44bsd-more/files/patch-ncommand.c
blob: 39167e12cf95e99c89c5d1d8d948fc276ba23787 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- ./ncommand.c.orig	2007-06-22 14:48:44.603814341 +0800
+++ ./ncommand.c	2007-06-22 14:48:44.631081101 +0800
@@ -231,6 +231,7 @@
  */
 
 static char *readvar();
+static const char *getvar(char *, int);
 
 #define NCTXTS 128
 void *getstr_ctxts[NCTXTS];  /* could easily be made dynamic... */
@@ -613,7 +614,6 @@
 {
 	int vlength;
 	char *vstart;
-	static char *getvar();
 
 	if (**line != '{') {
 		SETERR (E_BADVAR);