diff options
author | NeilBrown <neilb@suse.de> | 2010-11-22 20:58:05 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-11-22 20:58:05 +1100 |
commit | a655e5506478c540db06649fe7833c3c0982f80c (patch) | |
tree | d3d011a7a7dee3d9590630f101007c2541128d93 /Monitor.c | |
parent | fa56eddbd1ff1e007cfe588ddc97787d81a4fc3d (diff) |
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 'Monitor.c')
-rw-r--r-- | Monitor.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -38,7 +38,7 @@ static void alert(char *event, char *dev, char *disc, char *mailaddr, char *mail * At least it isn't MD_SB_DISKS. */ #define MaxDisks 384 -int Monitor(mddev_dev_t devlist, +int Monitor(struct mddev_dev *devlist, char *mailaddr, char *alert_cmd, int period, int daemonise, int scan, int oneshot, int dosyslog, int test, char* pidfile, int increments) @@ -180,7 +180,7 @@ int Monitor(mddev_dev_t devlist, statelist = st; } } else { - mddev_dev_t dv; + struct mddev_dev *dv; for (dv=devlist ; dv; dv=dv->next) { struct mddev_ident *mdlist = conf_get_ident(dv->devname); struct state *st = malloc(sizeof *st); @@ -481,7 +481,7 @@ int Monitor(mddev_dev_t devlist, } } if (dev > 0) { - struct mddev_dev_s devlist; + struct mddev_dev devlist; char devname[20]; devlist.next = NULL; devlist.used = 0; |