get rid of .= syntax
This commit is contained in:
parent
d5c40a0da2
commit
b3e7c02689
5 changed files with 27 additions and 20 deletions
|
|
@ -517,15 +517,19 @@ fsstart(Srv *s)
|
|||
proccreate(fsproc, nil, STACK);
|
||||
}
|
||||
|
||||
Srv fs = {
|
||||
.attach= fsattach,
|
||||
.walk1= fswalk1,
|
||||
.open= fssend,
|
||||
.read= fssend,
|
||||
.write= fssend,
|
||||
.stat= fsstat,
|
||||
.flush= fssend,
|
||||
.destroyfid= fssendclunk,
|
||||
.start= fsstart,
|
||||
};
|
||||
Srv fs;
|
||||
|
||||
void
|
||||
fsinit0(void)
|
||||
{
|
||||
fs.attach = fsattach;
|
||||
fs.walk1 = fswalk1;
|
||||
fs.open = fssend;
|
||||
fs.read = fssend;
|
||||
fs.write = fssend;
|
||||
fs.stat = fsstat;
|
||||
fs.flush = fssend;
|
||||
fs.destroyfid = fssendclunk;
|
||||
fs.start = fsstart;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue