summaryrefslogtreecommitdiff
path: root/libdm/datastruct
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 /libdm/datastruct
parent3e404aea3a8aef79d8e8b39743f55efc8f7bca04 (diff)
downloadlvm2-08f1ddea6c5d3679fe44e8fef73e8c8f3b11d705.tar.gz
Use __attribute__ consistently throughout.
Diffstat (limited to 'libdm/datastruct')
-rw-r--r--libdm/datastruct/hash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdm/datastruct/hash.c b/libdm/datastruct/hash.c
index 3c3d8a023..cd722cd81 100644
--- a/libdm/datastruct/hash.c
+++ b/libdm/datastruct/hash.c
@@ -236,13 +236,13 @@ void dm_hash_wipe(struct dm_hash_table *t)
t->num_nodes = 0u;
}
-char *dm_hash_get_key(struct dm_hash_table *t __attribute((unused)),
+char *dm_hash_get_key(struct dm_hash_table *t __attribute__((unused)),
struct dm_hash_node *n)
{
return n->key;
}
-void *dm_hash_get_data(struct dm_hash_table *t __attribute((unused)),
+void *dm_hash_get_data(struct dm_hash_table *t __attribute__((unused)),
struct dm_hash_node *n)
{
return n->data;