History

remove trailing whitespace

Sigrid Solveig Haflínudóttir committed 4 years ago

Commit f985a8b1 parent 4e790e64 files · +15 −15Browse files

Unified · Split

4 files
  1. 9p.c +5 −5
  2. 9pfs.c +5 −5
  3. fcall.h +2 −2
  4. lib/convM2D.c +3 −3
9p.c+5−5
@@ -105,7 +105,7 @@ err: · 104 unmodified lines
105105 r->type = Rerror;
106106 return -1;
107107 }
108−
108+
109109 int
110110 _9pversion(u32int m)
111111 {
@@ -165,7 +165,7 @@ _9pattach(u32int fid, u32int afid, char* uname, char *aname) · 53 unmodified lines
165165 f->fid = fid;
166166 f->qid = rattach.qid;
167167 return f;
168−}
168+}
169169
170170 FFid*
171171 _9pwalkr(FFid *r, char *path)
@@ -262,7 +262,7 @@ int · 90 unmodified lines
262262 _9popen(FFid *f)
263263 {
264264 Fcall topen, ropen;
265−
265+
266266 topen.type = Topen;
267267 topen.fid = f->fid;
268268 topen.mode = f->mode;
@@ -489,7 +489,7 @@ uniqfid(void) · 220 unmodified lines
489489 while((f = lookupfid(fid, PUT)) == NULL);
490490 return f;
491491 }
492−
492+
493493
494494 FFid*
495495 lookupfid(u32int fid, int act)
@@ -522,7 +522,7 @@ lookupfid(u32int fid, int act) · 26 unmodified lines
522522 f = FDEL;
523523 break;
524524 }
525− return f;
525+ return f;
526526 }
527527
528528 FFid*
9pfs.c+5−5
@@ -178,8 +178,8 @@ fsrename(const char *opath, const char *npath) · 177 unmodified lines
178178 free(d);
179179 clearcache(opath);
180180 return 0;
181−}
182−
181+}
182+
183183 int
184184 fsopen(const char *path, struct fuse_file_info *ffi)
185185 {
@@ -559,7 +559,7 @@ main(int argc, char *argv[]) · 373 unmodified lines
559559 DPRINT("About to fuse_main\n");
560560 fuse_main(fargp - fusearg, fusearg, &fsops, NULL);
561561 exit(0);
562−}
562+}
563563
564564 void
565565 dir2stat(struct stat *s, Dir *d)
@@ -583,7 +583,7 @@ dir2stat(struct stat *s, Dir *d) · 17 unmodified lines
583583 s->st_atime = d->atime;
584584 s->st_mtime = s->st_ctime = d->mtime;
585585 s->st_rdev = 0;
586−}
586+}
587587
588588 void
589589 clearcache(const char *path)
@@ -648,7 +648,7 @@ addtocache(const char *path) · 58 unmodified lines
648648 free(dname);
649649 return iscached(path);
650650 }
651−
651+
652652 int
653653 iscachectl(const char *path)
654654 {
fcall.h+2−2
@@ -17,7 +17,7 @@ struct Fcall · 16 unmodified lines
1717 u32int afid; /* Tauth, Tattach */
1818 char *uname; /* Tauth, Tattach */
1919 char *aname; /* Tauth, Tattach */
20− u32int perm; /* Tcreate */
20+ u32int perm; /* Tcreate */
2121 char *name; /* Tcreate */
2222 uchar mode; /* Tcreate, Topen */
2323 u32int newfid; /* Twalk */
@@ -31,7 +31,7 @@ struct Fcall · 7 unmodified lines
3131 ushort nstat; /* Twstat, Rstat */
3232 uchar *stat; /* Twstat, Rstat */
3333 int unixfd; /* Ropenfd */
34−
34+
3535 /* 9P2000.u extensions */
3636 int errornum; /* Rerror */
3737 int uidnum; /* Tattach, Tauth */
lib/convM2D.c+3−3
@@ -41,7 +41,7 @@ convM2D(uchar *buf, uint nbuf, Dir *d, char *strs) · 40 unmodified lines
4141 int i, ns, nstr;
4242
4343 if(nbuf < STATFIXLEN)
44− return 0;
44+ return 0;
4545
4646 p = buf;
4747 ebuf = buf + nbuf;
@@ -82,7 +82,7 @@ convM2D(uchar *buf, uint nbuf, Dir *d, char *strs) · 34 unmodified lines
8282 }
8383 p += ns;
8484 }
85−
85+
8686 if(strs){
8787 d->name = sv[0];
8888 d->uid = sv[1];
@@ -94,6 +94,6 @@ convM2D(uchar *buf, uint nbuf, Dir *d, char *strs) · 5 unmodified lines
9494 d->gid = nullstring;
9595 d->muid = nullstring;
9696 }
97−
97+
9898 return p - buf;
9999 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t