]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libmount: remove teaser proto for mnt_table_get_name
authorDave Reisner <d@falconindy.com>
Wed, 22 Feb 2012 04:16:34 +0000 (23:16 -0500)
committerKarel Zak <kzak@redhat.com>
Wed, 22 Feb 2012 10:52:44 +0000 (11:52 +0100)
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>
libmount/docs/libmount-sections.txt
libmount/src/libmount.h.in
libmount/src/libmount.sym

index 99b81c2abfa0eaaa198edf08b03f9fce7c445466..65f2859d67109194b1ce8fbdadb991f352d0df0b 100644 (file)
@@ -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
index c407b98a9b9e2588ca1a0b8afa9b0233e0ba1166..ae8b99e69cf5b0648f6829fd54413fadfeba3335 100644 (file)
@@ -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,
index d4e005692979973a3e682bf4c9bdab989f4037d6..6889d9dd37b19a00e996801fad05f52054fb46d3 100644 (file)
@@ -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;