summaryrefslogtreecommitdiffstats
path: root/sys/fs/msdosfs/msdosfs_fat.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-11-07 14:06:45 +0000
committerphk <phk@FreeBSD.org>1995-11-07 14:06:45 +0000
commitea7d29ed7aef8fea26fc90d1d979205ad3e3a190 (patch)
tree0614501f77e254451288fec38a4f16e0e912498b /sys/fs/msdosfs/msdosfs_fat.c
parent06201558ede6232409ec4bfc8672ef2a64eaa0ee (diff)
downloadFreeBSD-src-ea7d29ed7aef8fea26fc90d1d979205ad3e3a190.zip
FreeBSD-src-ea7d29ed7aef8fea26fc90d1d979205ad3e3a190.tar.gz
staticize private parts.
Diffstat (limited to 'sys/fs/msdosfs/msdosfs_fat.c')
-rw-r--r--sys/fs/msdosfs/msdosfs_fat.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/fs/msdosfs/msdosfs_fat.c b/sys/fs/msdosfs/msdosfs_fat.c
index 10f397a..caa62dd 100644
--- a/sys/fs/msdosfs/msdosfs_fat.c
+++ b/sys/fs/msdosfs/msdosfs_fat.c
@@ -1,4 +1,4 @@
-/* $Id: msdosfs_fat.c,v 1.7 1995/05/30 08:07:40 rgrimes Exp $ */
+/* $Id: msdosfs_fat.c,v 1.8 1995/10/29 15:31:49 phk Exp $ */
/* $NetBSD: msdosfs_fat.c,v 1.12 1994/08/21 18:44:04 ws Exp $ */
/*-
@@ -69,6 +69,7 @@
#include <msdosfs/denode.h>
#include <msdosfs/fat.h>
+static void fc_lookup __P((struct denode *dep, u_long findcn, u_long *frcnp, u_long *fsrcnp));
/*
* Fat cache stats.
*/
@@ -251,7 +252,7 @@ hiteof:;
* Find the closest entry in the fat cache to the cluster we are looking
* for.
*/
-void
+static void
fc_lookup(dep, findcn, frcnp, fsrcnp)
struct denode *dep;
u_long findcn;
@@ -576,7 +577,7 @@ fatchain(pmp, start, count, fillwith)
* start - start of chain
* count - maximum interesting length
*/
-int
+static int
chainlength(pmp, start, count)
struct msdosfsmount *pmp;
u_long start;
@@ -622,7 +623,7 @@ chainlength(pmp, start, count)
* retcluster - put the first allocated cluster's number here.
* got - how many clusters were actually allocated.
*/
-int
+static int
chainalloc(pmp, start, count, fillwith, retcluster, got)
struct msdosfsmount *pmp;
u_long start;
OpenPOWER on IntegriCloud