aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libfsimage/ufs/fsys_ufs.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/libfsimage/ufs/fsys_ufs.c')
-rw-r--r--tools/libfsimage/ufs/fsys_ufs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/libfsimage/ufs/fsys_ufs.c b/tools/libfsimage/ufs/fsys_ufs.c
index 4d6db3689e..be51411257 100644
--- a/tools/libfsimage/ufs/fsys_ufs.c
+++ b/tools/libfsimage/ufs/fsys_ufs.c
@@ -44,7 +44,7 @@ static grub_ino_t dlook(fsi_file_t *, grub_ino_t, char *);
static grub_daddr32_t sbmap(fsi_file_t *, grub_daddr32_t);
/* read superblock and check fs magic */
-int
+static int
ufs_mount(fsi_file_t *ffi, const char *options)
{
if (/*! IS_PC_SLICE_TYPE_SOLARIS(current_slice) || */
@@ -62,7 +62,7 @@ ufs_mount(fsi_file_t *ffi, const char *options)
* The entry point should really be named ufs_open(char *pathname).
* For now, keep it consistent with the rest of fsys modules.
*/
-int
+static int
ufs_dir(fsi_file_t *ffi, char *dirname)
{
grub_ino_t inode = ROOTINO; /* start from root */
@@ -102,7 +102,7 @@ ufs_dir(fsi_file_t *ffi, char *dirname)
/*
* This is the high-level read function.
*/
-int
+static int
ufs_read(fsi_file_t *ffi, char *buf, int len)
{
int off, size, ret = 0, ok;