summaryrefslogtreecommitdiffstats
path: root/libmount
diff options
context:
space:
mode:
authorDave Reisner2012-02-22 05:16:34 +0100
committerKarel Zak2012-02-22 11:52:44 +0100
commita33df88c45b4efa5d40fb4c84befa25708146f25 (patch)
treeb7b9e8b67a378c099686795972abf720bce4ea59 /libmount
parentdocs: trivial documentation fixes and improvements (diff)
downloadkernel-qcow2-util-linux-a33df88c45b4efa5d40fb4c84befa25708146f25.tar.gz
kernel-qcow2-util-linux-a33df88c45b4efa5d40fb4c84befa25708146f25.tar.xz
kernel-qcow2-util-linux-a33df88c45b4efa5d40fb4c84befa25708146f25.zip
libmount: remove teaser proto for mnt_table_get_name
This function was never implemented, but the proto has existed since the inception of the library. As the libmnt_table struct doesn't include a member necessary to carry the name of the table, simply discard this prototype. If ever a need to break ABI comes up, perhaps this could be revisited. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'libmount')
-rw-r--r--libmount/docs/libmount-sections.txt1
-rw-r--r--libmount/src/libmount.h.in1
-rw-r--r--libmount/src/libmount.sym1
3 files changed, 0 insertions, 3 deletions
diff --git a/libmount/docs/libmount-sections.txt b/libmount/docs/libmount-sections.txt
index 99b81c2ab..65f2859d6 100644
--- a/libmount/docs/libmount-sections.txt
+++ b/libmount/docs/libmount-sections.txt
@@ -246,7 +246,6 @@ mnt_table_find_srcpath
mnt_table_find_tag
mnt_table_find_target
mnt_table_get_cache
-mnt_table_get_name
mnt_table_get_nents
mnt_table_get_root_fs
mnt_table_is_fs_mounted
diff --git a/libmount/src/libmount.h.in b/libmount/src/libmount.h.in
index c407b98a9..ae8b99e69 100644
--- a/libmount/src/libmount.h.in
+++ b/libmount/src/libmount.h.in
@@ -292,7 +292,6 @@ extern int mnt_reset_table(struct libmnt_table *tb);
extern int mnt_table_get_nents(struct libmnt_table *tb);
extern int mnt_table_set_cache(struct libmnt_table *tb, struct libmnt_cache *mpc);
extern struct libmnt_cache *mnt_table_get_cache(struct libmnt_table *tb);
-extern const char *mnt_table_get_name(struct libmnt_table *tb);
extern int mnt_table_add_fs(struct libmnt_table *tb, struct libmnt_fs *fs);
extern int mnt_table_remove_fs(struct libmnt_table *tb, struct libmnt_fs *fs);
extern int mnt_table_next_fs(struct libmnt_table *tb, struct libmnt_iter *itr,
diff --git a/libmount/src/libmount.sym b/libmount/src/libmount.sym
index d4e005692..6889d9dd3 100644
--- a/libmount/src/libmount.sym
+++ b/libmount/src/libmount.sym
@@ -163,7 +163,6 @@ global:
mnt_table_find_tag;
mnt_table_find_target;
mnt_table_get_cache;
- mnt_table_get_name;
mnt_table_get_nents;
mnt_table_get_root_fs;
mnt_table_next_child_fs;