summaryrefslogtreecommitdiffstats
path: root/tools/vgchange.c
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 /tools/vgchange.c
parent3e404aea3a8aef79d8e8b39743f55efc8f7bca04 (diff)
downloadlvm2-08f1ddea6c5d3679fe44e8fef73e8c8f3b11d705.tar.gz
lvm2-08f1ddea6c5d3679fe44e8fef73e8c8f3b11d705.tar.xz
lvm2-08f1ddea6c5d3679fe44e8fef73e8c8f3b11d705.zip
Use __attribute__ consistently throughout.
Diffstat (limited to 'tools/vgchange.c')
-rw-r--r--tools/vgchange.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/vgchange.c b/tools/vgchange.c
index ed5a7ef0..6758c051 100644
--- a/tools/vgchange.c
+++ b/tools/vgchange.c
@@ -476,7 +476,7 @@ static int _vgchange_tag(struct cmd_context *cmd, struct volume_group *vg,
return ECMD_PROCESSED;
}
-static int _vgchange_uuid(struct cmd_context *cmd __attribute((unused)),
+static int _vgchange_uuid(struct cmd_context *cmd __attribute__((unused)),
struct volume_group *vg)
{
struct lv_list *lvl;
@@ -564,7 +564,7 @@ static int _vgchange_metadata_copies(struct cmd_context *cmd,
static int vgchange_single(struct cmd_context *cmd, const char *vg_name,
struct volume_group *vg,
- void *handle __attribute((unused)))
+ void *handle __attribute__((unused)))
{
int dmeventd_mode, r = ECMD_FAILED;