projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
BSD 3 development
[unix-history]
/
usr
/
src
/
cmd
/
refer
/
hunt3.c
diff --git
a/usr/src/cmd/refer/hunt3.c
b/usr/src/cmd/refer/hunt3.c
index
a3bdc85
..
e89f4fb
100644
(file)
--- a/
usr/src/cmd/refer/hunt3.c
+++ b/
usr/src/cmd/refer/hunt3.c
@@
-4,10
+4,10
@@
getq(v)
{
# define BSIZ 250
static char buff[BSIZ];
-static int eof 0;
+static int eof
=
0;
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)