summaryrefslogtreecommitdiff
path: root/ulfs.c
diff options
context:
space:
mode:
authorManuel Menal <mmenal@hurdfr.org>2006-04-13 11:06:02 +0000
committerManuel Menal <mmenal@hurdfr.org>2006-04-13 11:06:02 +0000
commit08008f8c6b8c4b71ba8106ad88ca20c01a5ad468 (patch)
treee370d6ff59c4e6e432bc24be2f3bfd947020b7eb /ulfs.c
parent3054767a46e0142cacef895c13edb4391435c722 (diff)
Cleanup patch by Ben Asselstine (remove unused variables, make some functions static) (Manuel)
Diffstat (limited to 'ulfs.c')
-rw-r--r--ulfs.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ulfs.c b/ulfs.c
index d924b0c..3c565a5 100644
--- a/ulfs.c
+++ b/ulfs.c
@@ -46,7 +46,7 @@ unsigned int ulfs_num;
struct mutex ulfs_lock = MUTEX_INITIALIZER;
/* Create a new ulfs element. */
-error_t
+static error_t
ulfs_create (char *path, ulfs_t **ulfs)
{
ulfs_t *ulfs_new = malloc (sizeof (ulfs_t));
@@ -76,7 +76,7 @@ ulfs_create (char *path, ulfs_t **ulfs)
}
/* Destroy an ulfs element. */
-void
+static void
ulfs_destroy (ulfs_t *ulfs)
{
free (ulfs->path);
@@ -85,7 +85,7 @@ ulfs_destroy (ulfs_t *ulfs)
/* Install ULFS into the linked list of registered filesystems in
* priority order. */
-void
+static void
ulfs_install (ulfs_t *ulfs)
{
ulfs_t *u = ulfs_chain_start;
@@ -134,7 +134,7 @@ ulfs_install (ulfs_t *ulfs)
}
/* Remove ULFS from the linked list of registered filesystems. */
-void
+static void
ulfs_uninstall (ulfs_t *ulfs)
{
if (ulfs == ulfs_chain_start)
@@ -168,7 +168,7 @@ ulfs_get_num (int num, ulfs_t **ulfs)
}
/* Get an ulfs element by the associated path. */
-error_t
+static error_t
ulfs_get_path (char *path, ulfs_t **ulfs)
{
error_t err = ENOENT;