summaryrefslogtreecommitdiffstats
path: root/liblvm
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2010-07-09 15:34:40 +0000
committerAlasdair Kergon <agk@redhat.com>2010-07-09 15:34:40 +0000
commit08f1ddea6c5d3679fe44e8fef73e8c8f3b11d705 (patch)
tree71a0e07016fc9b9e447521ace11040c052cdfcd2 /liblvm
parent3e404aea3a8aef79d8e8b39743f55efc8f7bca04 (diff)
downloadlvm2-08f1ddea6c5d3679fe44e8fef73e8c8f3b11d705.tar.gz
lvm2-08f1ddea6c5d3679fe44e8fef73e8c8f3b11d705.tar.xz
lvm2-08f1ddea6c5d3679fe44e8fef73e8c8f3b11d705.zip
Use __attribute__ consistently throughout.
Diffstat (limited to 'liblvm')
-rw-r--r--liblvm/lvm_lv.c2
-rw-r--r--liblvm/lvm_pv.c2
-rw-r--r--liblvm/lvm_vg.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/liblvm/lvm_lv.c b/liblvm/lvm_lv.c
index cfa5c18b..e67e7fe7 100644
--- a/liblvm/lvm_lv.c
+++ b/liblvm/lvm_lv.c
@@ -41,7 +41,7 @@ uint64_t lvm_lv_get_size(const lv_t lv)
const char *lvm_lv_get_uuid(const lv_t lv)
{
- char uuid[64] __attribute((aligned(8)));
+ char uuid[64] __attribute__((aligned(8)));
if (!id_write_format(&lv->lvid.id[1], uuid, sizeof(uuid))) {
log_error(INTERNAL_ERROR "unable to convert uuid");
diff --git a/liblvm/lvm_pv.c b/liblvm/lvm_pv.c
index 7926bff8..db2383c7 100644
--- a/liblvm/lvm_pv.c
+++ b/liblvm/lvm_pv.c
@@ -19,7 +19,7 @@
const char *lvm_pv_get_uuid(const pv_t pv)
{
- char uuid[64] __attribute((aligned(8)));
+ char uuid[64] __attribute__((aligned(8)));
if (!id_write_format(&pv->id, uuid, sizeof(uuid))) {
log_error(INTERNAL_ERROR "Unable to convert uuid");
diff --git a/liblvm/lvm_vg.c b/liblvm/lvm_vg.c
index 20aeb4f3..99558c74 100644
--- a/liblvm/lvm_vg.c
+++ b/liblvm/lvm_vg.c
@@ -332,7 +332,7 @@ uint64_t lvm_vg_get_max_lv(const vg_t vg)
const char *lvm_vg_get_uuid(const vg_t vg)
{
- char uuid[64] __attribute((aligned(8)));
+ char uuid[64] __attribute__((aligned(8)));
if (!id_write_format(&vg->id, uuid, sizeof(uuid))) {
log_error(INTERNAL_ERROR "Unable to convert uuid");