diff options
author | Alasdair Kergon <agk@redhat.com> | 2010-07-09 15:34:40 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2010-07-09 15:34:40 +0000 |
commit | 08f1ddea6c5d3679fe44e8fef73e8c8f3b11d705 (patch) | |
tree | 71a0e07016fc9b9e447521ace11040c052cdfcd2 /libdm/datastruct | |
parent | 3e404aea3a8aef79d8e8b39743f55efc8f7bca04 (diff) | |
download | lvm2-08f1ddea6c5d3679fe44e8fef73e8c8f3b11d705.tar.gz lvm2-08f1ddea6c5d3679fe44e8fef73e8c8f3b11d705.tar.xz lvm2-08f1ddea6c5d3679fe44e8fef73e8c8f3b11d705.zip |
Use __attribute__ consistently throughout.
Diffstat (limited to 'libdm/datastruct')
-rw-r--r-- | libdm/datastruct/hash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdm/datastruct/hash.c b/libdm/datastruct/hash.c index 3c3d8a02..cd722cd8 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; |