PERFORCE change 165034 for review
Zhao Shuai
zhaoshuai at FreeBSD.org
Wed Jun 24 10:04:28 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=165034
Change 165034 by zhaoshuai at zhaoshuai on 2009/06/24 10:04:25
remove unnecessary header files
Affected files ...
.. //depot/projects/soc2009/fifo/sys/fs/fifofs/fifo_vnops.c#17 edit
.. //depot/projects/soc2009/fifo/sys/kern/subr_pipe.c#8 edit
.. //depot/projects/soc2009/fifo/sys/kern/sys_pipe.c#14 edit
Differences ...
==== //depot/projects/soc2009/fifo/sys/fs/fifofs/fifo_vnops.c#17 (text+ko) ====
@@ -36,7 +36,6 @@
*/
#include <sys/param.h>
-#include <sys/file.h>
#include <sys/filedesc.h>
#include <sys/filio.h>
#include <sys/fcntl.h>
==== //depot/projects/soc2009/fifo/sys/kern/subr_pipe.c#8 (text+ko) ====
@@ -98,7 +98,6 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/fcntl.h>
-#include <sys/file.h>
#include <sys/filedesc.h>
#include <sys/filio.h>
#include <sys/kernel.h>
==== //depot/projects/soc2009/fifo/sys/kern/sys_pipe.c#14 (text+ko) ====
@@ -22,18 +22,13 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/fcntl.h>
-#include <sys/file.h>
#include <sys/filedesc.h>
#include <sys/filio.h>
#include <sys/kernel.h>
-#include <sys/lock.h>
#include <sys/stat.h>
#include <sys/malloc.h>
-#include <sys/poll.h>
#include <sys/selinfo.h>
-#include <sys/signalvar.h>
#include <sys/syscallsubr.h>
-#include <sys/sysctl.h>
#include <sys/sysproto.h>
#include <sys/pipe.h>
#include <sys/proc.h>
@@ -154,7 +149,7 @@
}
static int
-pipe_truncate_f(struct file *fp, off_t length, struct ucred *active_cred, struct thread *td)
+pipe_truncate_f(struct file *fp, off_t length, struct ucred *active_cred, struct thread *td)
{
struct pipe *pipe = fp->f_data;
More information about the p4-projects
mailing list