diff options
author | Alasdair Kergon <agk@redhat.com> | 2007-01-22 15:03:57 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2007-01-22 15:03:57 +0000 |
commit | 4dcaa2300c9d93f424211a3712dc5eecd4464782 (patch) | |
tree | 413df8863e9346e37e489b8fc7531d4fbd8fb74a /libdm/datastruct | |
parent | 8a37910d51c30b51ba9ed13bf7bdd60718440d11 (diff) | |
download | lvm2-4dcaa2300c9d93f424211a3712dc5eecd4464782.tar.gz |
Add dm_event_handler_[gs]et_timeout functions.
Streamline dm_report_field_* interface.
Diffstat (limited to 'libdm/datastruct')
-rw-r--r-- | libdm/datastruct/hash.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libdm/datastruct/hash.c b/libdm/datastruct/hash.c index 1a3ea8167..d44d40d89 100644 --- a/libdm/datastruct/hash.c +++ b/libdm/datastruct/hash.c @@ -230,12 +230,14 @@ void dm_hash_wipe(struct dm_hash_table *t) t->num_nodes = 0u; } -char *dm_hash_get_key(struct dm_hash_table *t, struct dm_hash_node *n) +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, struct dm_hash_node *n) +void *dm_hash_get_data(struct dm_hash_table *t __attribute((unused)), + struct dm_hash_node *n) { return n->data; } |