Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jun 2009 12:20:38 GMT
From:      Zhao Shuai <zhaoshuai@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 165154 for review
Message-ID:  <200906251220.n5PCKcCB082617@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=165154

Change 165154 by zhaoshuai@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)
 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906251220.n5PCKcCB082617>