diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-07-15 15:03:58 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-07-15 15:03:58 +0100 |
commit | c20060b5e01dadc59f501b92e2e4ad752e625a89 (patch) | |
tree | 131f3f88f68dc9a88ce440ae1fd8f112630901c7 /tools/libfsimage/ufs | |
parent | 032a69e5b7d9e23fbd2b1c1f9b2fd60118b6a5cb (diff) | |
download | xen-c20060b5e01dadc59f501b92e2e4ad752e625a89.tar.gz xen-c20060b5e01dadc59f501b92e2e4ad752e625a89.tar.bz2 xen-c20060b5e01dadc59f501b92e2e4ad752e625a89.zip |
tools: Make functions static which should not be exported.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Diffstat (limited to 'tools/libfsimage/ufs')
-rw-r--r-- | tools/libfsimage/ufs/fsys_ufs.c | 6 |
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; |