diff options
author | NeilBrown <neilb@suse.de> | 2010-11-22 10:58:05 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-11-22 10:58:05 +0100 |
commit | a655e5506478c540db06649fe7833c3c0982f80c (patch) | |
tree | d3d011a7a7dee3d9590630f101007c2541128d93 /mdadm.c | |
parent | Improve mddev_ident type definitions. (diff) | |
download | mdadm-a655e5506478c540db06649fe7833c3c0982f80c.tar.xz mdadm-a655e5506478c540db06649fe7833c3c0982f80c.zip |
Improve type names for mddev_dev
Remove the _t pointer typedef and remove the _s suffix for the
structure,
These things do not help readability.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdadm.c')
-rw-r--r-- | mdadm.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -62,9 +62,9 @@ int main(int argc, char *argv[]) char *backup_file = NULL; int bitmap_chunk = UnSet; int SparcAdjust = 0; - mddev_dev_t devlist = NULL; - mddev_dev_t *devlistend = & devlist; - mddev_dev_t dv; + struct mddev_dev *devlist = NULL; + struct mddev_dev **devlistend = & devlist; + struct mddev_dev *dv; int devs_found = 0; int verbose = 0; int quiet = 0; @@ -1159,7 +1159,7 @@ int main(int argc, char *argv[]) } } else { struct mddev_ident *a, *array_list = conf_get_ident(NULL); - mddev_dev_t devlist = conf_get_devs(); + struct mddev_dev *devlist = conf_get_devs(); int cnt = 0; int failures, successes; if (devlist == NULL) { @@ -1215,7 +1215,7 @@ int main(int argc, char *argv[]) int acnt; ident.autof = autof; do { - mddev_dev_t devlist = conf_get_devs(); + struct mddev_dev *devlist = conf_get_devs(); acnt = 0; do { rv2 = Assemble(ss, NULL, |