BSD 3 development
[unix-history] / usr / src / cmd / refer / hunt3.c
index a3bdc85..e89f4fb 100644 (file)
@@ -4,10 +4,10 @@ getq(v)
 {
 # define BSIZ 250
 static char buff[BSIZ];
 {
 # define BSIZ 250
 static char buff[BSIZ];
-static int eof 0;
+static int eof 0;
 extern char *sinput;
 char *p;
 extern char *sinput;
 char *p;
-int c, n 0, las 0;
+int c, n = 0, las = 0;
 if (eof) return(-1);
 p = buff;
 while ( (c = (sinput ? *sinput++ : getchar()) ) > 0)
 if (eof) return(-1);
 p = buff;
 while ( (c = (sinput ? *sinput++ : getchar()) ) > 0)