shithub: plan9front

Download patch

ref: 57c21ae441d1b6af38ce310ffec87340488ed84b
parent: f6509078ed9d03b71c945b19cdda5c882cb1e78d
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat May 1 11:03:03 EDT 2021

lib9p: remove unneccesary headers

--- a/sys/src/lib9p/auth.c	Sat May  1 10:37:00 2021
+++ b/sys/src/lib9p/auth.c	Sat May  1 11:03:03 2021
@@ -1,9 +1,9 @@
 #include <u.h>
 #include <libc.h>
-#include <auth.h>
 #include <fcall.h>
 #include <thread.h>
 #include <9p.h>
+#include <auth.h>
 
 typedef struct Afid Afid;
 
--- a/sys/src/lib9p/dirread.c	Sat May  1 10:37:00 2021
+++ b/sys/src/lib9p/dirread.c	Sat May  1 11:03:03 2021
@@ -1,6 +1,5 @@
 #include <u.h>
 #include <libc.h>
-#include <auth.h>
 #include <fcall.h>
 #include <thread.h>
 #include <9p.h>
--- a/sys/src/lib9p/fid.c	Sat May  1 10:37:00 2021
+++ b/sys/src/lib9p/fid.c	Sat May  1 11:03:03 2021
@@ -1,9 +1,8 @@
 #include <u.h>
 #include <libc.h>
-#include <auth.h>
 #include <fcall.h>
 #include <thread.h>
-#include "9p.h"
+#include <9p.h>
 
 static void
 incfidref(void *v)
--- a/sys/src/lib9p/file.c	Sat May  1 10:37:00 2021
+++ b/sys/src/lib9p/file.c	Sat May  1 11:03:03 2021
@@ -1,6 +1,5 @@
 #include <u.h>
 #include <libc.h>
-#include <auth.h>
 #include <fcall.h>
 #include <thread.h>
 #include <9p.h>
--- a/sys/src/lib9p/ftest.c	Sat May  1 10:37:00 2021
+++ b/sys/src/lib9p/ftest.c	Sat May  1 11:03:03 2021
@@ -1,6 +1,5 @@
 #include <u.h>
 #include <libc.h>
-#include <auth.h>
 #include <fcall.h>
 #include "9p.h"
 
--- a/sys/src/lib9p/intmap.c	Sat May  1 10:37:00 2021
+++ b/sys/src/lib9p/intmap.c	Sat May  1 11:03:03 2021
@@ -1,6 +1,5 @@
 #include <u.h>
 #include <libc.h>
-#include <auth.h>
 #include <fcall.h>
 #include <thread.h>
 #include <9p.h>
--- a/sys/src/lib9p/listen.c	Sat May  1 10:37:00 2021
+++ b/sys/src/lib9p/listen.c	Sat May  1 11:03:03 2021
@@ -1,6 +1,5 @@
 #include <u.h>
 #include <libc.h>
-#include <auth.h>
 #include <fcall.h>
 #include <thread.h>
 #include <9p.h>
--- a/sys/src/lib9p/mem.c	Sat May  1 10:37:00 2021
+++ b/sys/src/lib9p/mem.c	Sat May  1 11:03:03 2021
@@ -1,9 +1,8 @@
 #include <u.h>
 #include <libc.h>
-#include <auth.h>
 #include <fcall.h>
 #include <thread.h>
-#include "9p.h"
+#include <9p.h>
 
 void*
 emalloc9p(ulong sz)
--- a/sys/src/lib9p/post.c	Sat May  1 10:37:00 2021
+++ b/sys/src/lib9p/post.c	Sat May  1 11:03:03 2021
@@ -3,7 +3,6 @@
 #include <fcall.h>
 #include <thread.h>
 #include <9p.h>
-#include <auth.h>
 
 static void
 postproc(void *v)
--- a/sys/src/lib9p/ramfs.c	Sat May  1 10:37:00 2021
+++ b/sys/src/lib9p/ramfs.c	Sat May  1 11:03:03 2021
@@ -1,6 +1,5 @@
 #include <u.h>
 #include <libc.h>
-#include <auth.h>
 #include <fcall.h>
 #include <thread.h>
 #include <9p.h>
--- a/sys/src/lib9p/req.c	Sat May  1 10:37:00 2021
+++ b/sys/src/lib9p/req.c	Sat May  1 11:03:03 2021
@@ -1,6 +1,5 @@
 #include <u.h>
 #include <libc.h>
-#include <auth.h>
 #include <fcall.h>
 #include <thread.h>
 #include <9p.h>
--- a/sys/src/lib9p/share.c	Sat May  1 10:37:00 2021
+++ b/sys/src/lib9p/share.c	Sat May  1 11:03:03 2021
@@ -3,7 +3,6 @@
 #include <fcall.h>
 #include <thread.h>
 #include <9p.h>
-#include <auth.h>
 
 void
 postsharesrv(Srv *s, char *name, char *mtpt, char *desc)
--- a/sys/src/lib9p/srv.c	Sat May  1 10:37:00 2021
+++ b/sys/src/lib9p/srv.c	Sat May  1 11:03:03 2021
@@ -1,6 +1,5 @@
 #include <u.h>
 #include <libc.h>
-#include <auth.h>
 #include <fcall.h>
 #include <thread.h>
 #include <9p.h>
--- a/sys/src/lib9p/uid.c	Sat May  1 10:37:00 2021
+++ b/sys/src/lib9p/uid.c	Sat May  1 11:03:03 2021
@@ -1,6 +1,5 @@
 #include <u.h>
 #include <libc.h>
-#include <auth.h>
 #include <fcall.h>
 #include <thread.h>
 #include <9p.h>
--- a/sys/src/lib9p/util.c	Sat May  1 10:37:00 2021
+++ b/sys/src/lib9p/util.c	Sat May  1 11:03:03 2021
@@ -1,9 +1,8 @@
 #include <u.h>
 #include <libc.h>
-#include <auth.h>
 #include <fcall.h>
 #include <thread.h>
-#include "9p.h"
+#include <9p.h>
 
 void
 readbuf(Req *r, void *s, long n)