summaryrefslogtreecommitdiff
path: root/mount/sundries.h
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2007-10-22 15:49:26 +0200
committerKarel Zak <kzak@redhat.com>2007-10-25 21:50:59 +0200
commit89fde75b38cf8c99c1cc5c6b6c206de521e551f4 (patch)
tree51fcd85dad2bc9421e619ec696f8795cdae235f5 /mount/sundries.h
parent102cb99e47eaed5ab86250c86268c5645f25f7cc (diff)
downloadutil-linux-old-89fde75b38cf8c99c1cc5c6b6c206de521e551f4.tar.gz
mount: cleanup canonicalize() usage
This patch renames canonicalize() to canonicalize_mountpoint() and moves this function to realpath.c where is all cannonicalize code. The canonicalize_mountpoint() function checks for special "none", "proc", "swap" pseudo mointpoint. The patch also adds a new generic canonicalize() function. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'mount/sundries.h')
-rw-r--r--mount/sundries.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/mount/sundries.h b/mount/sundries.h
index 95d4bea7..3d6a1bd2 100644
--- a/mount/sundries.h
+++ b/mount/sundries.h
@@ -24,7 +24,6 @@ extern int sloppy;
/* Functions in sundries.c that are used in mount.c and umount.c */
void block_signals (int how);
-char *canonicalize (const char *path);
void error (const char *fmt, ...);
int matching_type (const char *type, const char *types);
int matching_opts (const char *options, const char *test_opts);