summaryrefslogtreecommitdiffstats
path: root/shlibs/mount/src/cache.c
diff options
context:
space:
mode:
authorKarel Zak2010-12-23 22:59:09 +0100
committerKarel Zak2011-01-03 12:28:48 +0100
commitd1ce73191c2166e9ea0152179d533d51a13a5df2 (patch)
tree766b875992d06225ad296853f2d0c7194df77af2 /shlibs/mount/src/cache.c
parentlibmount: better work with mtab options (diff)
downloadkernel-qcow2-util-linux-d1ce73191c2166e9ea0152179d533d51a13a5df2.tar.gz
kernel-qcow2-util-linux-d1ce73191c2166e9ea0152179d533d51a13a5df2.tar.xz
kernel-qcow2-util-linux-d1ce73191c2166e9ea0152179d533d51a13a5df2.zip
libmount: don't export some cache.c files
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/mount/src/cache.c')
-rw-r--r--shlibs/mount/src/cache.c21
1 files changed, 6 insertions, 15 deletions
diff --git a/shlibs/mount/src/cache.c b/shlibs/mount/src/cache.c
index eceb2c0ae..0578c0655 100644
--- a/shlibs/mount/src/cache.c
+++ b/shlibs/mount/src/cache.c
@@ -177,14 +177,10 @@ static int mnt_cache_add_tag(mnt_cache *cache, const char *token,
}
-/**
- * mnt_cache_find_path:
- * @cache: pointer to mnt_cache instance
- * @path: "native" (non-canonicalized) path
- *
- * Returns: cached canonicalized path or NULL.
+/*
+ * Returns cached canonicalized path or NULL.
*/
-const char *mnt_cache_find_path(mnt_cache *cache, const char *path)
+static const char *mnt_cache_find_path(mnt_cache *cache, const char *path)
{
int i;
@@ -204,15 +200,10 @@ const char *mnt_cache_find_path(mnt_cache *cache, const char *path)
return NULL;
}
-/**
- * mnt_cache_find_tag:
- * @cache: pointer to mnt_cache instance
- * @token: tag name
- * @value: tag value
- *
- * Returns: cached path or NULL.
+/*
+ * Returns cached path or NULL.
*/
-const char *mnt_cache_find_tag(mnt_cache *cache,
+static const char *mnt_cache_find_tag(mnt_cache *cache,
const char *token, const char *value)
{
int i;