From: Ben Gras Date: Wed, 12 Oct 2005 15:06:47 +0000 (+0000) Subject: rw_block is private to cache.c X-Git-Tag: v3.1.2a~637 X-Git-Url: http://zhaoyanbai.com/repos/%22https:/www.google.com/jsapi/static/mandoc_char.7.txt?a=commitdiff_plain;h=fc58687905692dc884637dd663b701b042384304;p=minix.git rw_block is private to cache.c --- diff --git a/servers/fs/cache.c b/servers/fs/cache.c index d3fc613d0..d77b9cc18 100644 --- a/servers/fs/cache.c +++ b/servers/fs/cache.c @@ -8,8 +8,10 @@ * put_block: return a block previously requested with get_block * alloc_zone: allocate a new zone (to increase the length of a file) * free_zone: release a zone (when a file is removed) - * rw_block: read or write a block from the disk itself * invalidate: remove all the cache blocks on some device + * + * Private functions: + * rw_block: read or write a block from the disk itself */ #include "fs.h" @@ -20,6 +22,7 @@ #include "super.h" FORWARD _PROTOTYPE( void rm_lru, (struct buf *bp) ); +FORWARD _PROTOTYPE( int rw_block, (struct buf *, int) ); /*===========================================================================* * get_block *