diff options
author | Karel Zak | 2011-01-22 00:09:34 +0100 |
---|---|---|
committer | Karel Zak | 2011-01-22 00:27:26 +0100 |
commit | 68164f6c308af1f53567b627876cd1bc8afe8817 (patch) | |
tree | 619ba5ff92b2f6a23ce899b9f771279179a7c7ba /shlibs/mount/src/test.c | |
parent | libmount: add functions for mount.<type> helpers (diff) | |
download | kernel-qcow2-util-linux-68164f6c308af1f53567b627876cd1bc8afe8817.tar.gz kernel-qcow2-util-linux-68164f6c308af1f53567b627876cd1bc8afe8817.tar.xz kernel-qcow2-util-linux-68164f6c308af1f53567b627876cd1bc8afe8817.zip |
libmount: cleanup API, remove typedef
- replace mnt_ with libmnt_ prefix for types (the old prefix was too generic)
- remove typedef, use struct everywhere
- use shorter functions names (s/userspace/user/; s/mountflags/mflags/)
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/mount/src/test.c')
-rw-r--r-- | shlibs/mount/src/test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shlibs/mount/src/test.c b/shlibs/mount/src/test.c index ac2ab1751..2da00b40d 100644 --- a/shlibs/mount/src/test.c +++ b/shlibs/mount/src/test.c @@ -17,10 +17,10 @@ #include "mountP.h" -int mnt_run_test(struct mtest *tests, int argc, char *argv[]) +int mnt_run_test(struct libmnt_test *tests, int argc, char *argv[]) { int rc = -1; - struct mtest *ts; + struct libmnt_test *ts; assert(tests); assert(argc); |