From b3dc734018ef4dff8bab10409cd3ddf5ee10c48c Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Fri, 28 Sep 2007 10:07:26 +0200 Subject: declare lots of functions static --- fs/cramfs/cramfs.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'fs/cramfs') diff --git a/fs/cramfs/cramfs.c b/fs/cramfs/cramfs.c index 112f416f13..9c08ad5a29 100644 --- a/fs/cramfs/cramfs.c +++ b/fs/cramfs/cramfs.c @@ -201,7 +201,7 @@ struct cramfs_dir { DIR dir; }; -DIR* cramfs_opendir(struct device_d *_dev, const char *filename) +static DIR* cramfs_opendir(struct device_d *_dev, const char *filename) { char *f; struct cramfs_priv *priv = _dev->priv; @@ -406,7 +406,7 @@ static int cramfs_info (struct device_d *dev) } #endif -int cramfs_probe(struct device_d *dev) +static int cramfs_probe(struct device_d *dev) { struct fs_device_d *fsdev; struct cramfs_priv *priv; @@ -428,7 +428,7 @@ int cramfs_probe(struct device_d *dev) return 0; } -int cramfs_remove(struct device_d *dev) +static int cramfs_remove(struct device_d *dev) { struct cramfs_priv *priv = dev->priv; @@ -456,7 +456,7 @@ static struct fs_driver_d cramfs_driver = { } }; -int cramfs_init(void) +static int cramfs_init(void) { return register_driver(&cramfs_driver.drv); } -- cgit v1.2.3