PERFORCE change 165154 for review

Zhao Shuai zhaoshuai at FreeBSD.org
Thu Jun 25 12:20:39 UTC 2009


http://perforce.freebsd.org/chv.cgi?CH=165154

Change 165154 by zhaoshuai at zhaoshuai on 2009/06/25 12:20:37

	pipe_read_f() and pipe_write_f() should be static.

Affected files ...

.. //depot/projects/soc2009/fifo/sys/kern/sys_pipe.c#15 edit

Differences ...

==== //depot/projects/soc2009/fifo/sys/kern/sys_pipe.c#15 (text+ko) ====

@@ -126,7 +126,7 @@
 	return (0);
 }
 
-int
+static int
 pipe_read_f(struct file *fp, struct uio *uio, struct ucred *active_cred, int flags, 
 	struct thread *td)
 {
@@ -137,7 +137,7 @@
   	return pipe_read(pipe, uio, active_cred, fp->f_flag, td);
 }
 
-int
+static int
 pipe_write_f(struct file *fp, struct uio *uio, struct ucred *active_cred, int flags, 
 	struct thread *td)
 {


More information about the p4-projects mailing list