summaryrefslogtreecommitdiffstats
path: root/lib/label/label.h
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2006-11-30 23:11:42 +0000
committerAlasdair Kergon <agk@redhat.com>2006-11-30 23:11:42 +0000
commit4dc0ec2253482a334117b90f4c714a38d372c985 (patch)
treeabb367ca7f94f87e816f902887ac9281dc89655f /lib/label/label.h
parent6c48fe74331a262d7eb1be0c2027b281703e148d (diff)
downloadlvm2-4dc0ec2253482a334117b90f4c714a38d372c985.tar.gz
lvm2-4dc0ec2253482a334117b90f4c714a38d372c985.tar.xz
lvm2-4dc0ec2253482a334117b90f4c714a38d372c985.zip
Adjust some alignments for ia64 and sparc.
(Some of the changes are probably unnecessary.)
Diffstat (limited to 'lib/label/label.h')
-rw-r--r--lib/label/label.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/label/label.h b/lib/label/label.h
index bff3be1d..a4c6597b 100644
--- a/lib/label/label.h
+++ b/lib/label/label.h
@@ -49,23 +49,23 @@ struct label_ops {
/*
* Is the device labelled with this format ?
*/
- int (*can_handle) (struct labeller * l, char *buf, uint64_t sector);
+ int (*can_handle) (struct labeller * l, void *buf, uint64_t sector);
/*
* Write a label to a volume.
*/
- int (*write) (struct label * label, char *buf);
+ int (*write) (struct label * label, void *buf);
/*
* Read a label from a volume.
*/
int (*read) (struct labeller * l, struct device * dev,
- char *buf, struct label ** label);
+ void *buf, struct label ** label);
/*
* Additional consistency checks for the paranoid.
*/
- int (*verify) (struct labeller * l, char *buf, uint64_t sector);
+ int (*verify) (struct labeller * l, void *buf, uint64_t sector);
/*
* Populate label_type etc.