Mercurial > hvf > hvf-old
changeset 514:ccc9c9514e3e
cp/fs: make EDF helper functions static
Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
author | Josef 'Jeff' Sipek <jeffpc@josefsipek.net> |
---|---|
date | Mon, 25 Apr 2011 14:26:41 -0400 |
parents | c5b9bc302571 |
children | 211e4a7e930c |
files | cp/fs/edf.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/cp/fs/edf.c Mon Apr 25 14:20:49 2011 -0400 +++ b/cp/fs/edf.c Mon Apr 25 14:26:41 2011 -0400 @@ -19,7 +19,7 @@ static LOCK_CLASS(edf_file); /* assumes that fs->lock is held */ -struct file *__alloc_file(struct fs *fs, struct FST *fst) +static struct file *__alloc_file(struct fs *fs, struct FST *fst) { struct file *file; @@ -44,13 +44,13 @@ } /* assumes that fs->lock is held */ -void __free_file(struct file *file) +static void __free_file(struct file *file) { list_del(&file->files); free(file); } -int __init_dir(struct fs *fs, void *tmp) +static int __init_dir(struct fs *fs, void *tmp) { struct FST *fst = tmp; struct file *file;