diff options
author | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-09-28 10:07:26 +0200 |
---|---|---|
committer | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-09-28 10:07:26 +0200 |
commit | b3dc734018ef4dff8bab10409cd3ddf5ee10c48c (patch) | |
tree | 5f63c72afb179be139d44d0d823253f08f0392fc /fs/cramfs | |
parent | 27bf8f1deabda87d07a8b9c7e21b59484f1a197e (diff) | |
download | barebox-b3dc734018ef4dff8bab10409cd3ddf5ee10c48c.tar.gz barebox-b3dc734018ef4dff8bab10409cd3ddf5ee10c48c.tar.xz |
declare lots of functions static
Diffstat (limited to 'fs/cramfs')
-rw-r--r-- | fs/cramfs/cramfs.c | 8 |
1 files changed, 4 insertions, 4 deletions
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); } |