aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libfsimage/fat
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-07-15 15:03:58 +0100
committerKeir Fraser <keir.fraser@citrix.com>2008-07-15 15:03:58 +0100
commitc20060b5e01dadc59f501b92e2e4ad752e625a89 (patch)
tree131f3f88f68dc9a88ce440ae1fd8f112630901c7 /tools/libfsimage/fat
parent032a69e5b7d9e23fbd2b1c1f9b2fd60118b6a5cb (diff)
downloadxen-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/fat')
-rw-r--r--tools/libfsimage/fat/fsys_fat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/libfsimage/fat/fsys_fat.c b/tools/libfsimage/fat/fsys_fat.c
index 819465a16b..d22d243334 100644
--- a/tools/libfsimage/fat/fsys_fat.c
+++ b/tools/libfsimage/fat/fsys_fat.c
@@ -54,7 +54,7 @@ struct fat_superblock
#define log2 grub_log2
-int
+static int
fat_mount (fsi_file_t *ffi, const char *options)
{
struct fat_bpb bpb;
@@ -179,7 +179,7 @@ fat_mount (fsi_file_t *ffi, const char *options)
return 1;
}
-int
+static int
fat_read (fsi_file_t *ffi, char *buf, int len)
{
int logical_clust;
@@ -273,7 +273,7 @@ fat_read (fsi_file_t *ffi, char *buf, int len)
return errnum ? 0 : ret;
}
-int
+static int
fat_dir (fsi_file_t *ffi, char *dirname)
{
char *rest, ch, dir_buf[FAT_DIRENTRY_LENGTH];