1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-08-05 16:22:02 +03:00

Use __attribute__ consistently throughout.

This commit is contained in:
Alasdair Kergon
2010-07-09 15:34:40 +00:00
parent 3e404aea3a
commit 08f1ddea6c
89 changed files with 443 additions and 442 deletions

View File

@ -39,20 +39,20 @@ static int _zero_merge_segments(struct lv_segment *seg1, struct lv_segment *seg2
}
#ifdef DEVMAPPER_SUPPORT
static int _zero_add_target_line(struct dev_manager *dm __attribute((unused)),
struct dm_pool *mem __attribute((unused)),
struct cmd_context *cmd __attribute((unused)),
void **target_state __attribute((unused)),
struct lv_segment *seg __attribute((unused)),
static int _zero_add_target_line(struct dev_manager *dm __attribute__((unused)),
struct dm_pool *mem __attribute__((unused)),
struct cmd_context *cmd __attribute__((unused)),
void **target_state __attribute__((unused)),
struct lv_segment *seg __attribute__((unused)),
struct dm_tree_node *node,uint64_t len,
uint32_t *pvmove_mirror_count __attribute((unused)))
uint32_t *pvmove_mirror_count __attribute__((unused)))
{
return dm_tree_node_add_zero_target(node, len);
}
static int _zero_target_present(struct cmd_context *cmd,
const struct lv_segment *seg __attribute((unused)),
unsigned *attributes __attribute((unused)))
const struct lv_segment *seg __attribute__((unused)),
unsigned *attributes __attribute__((unused)))
{
static int _zero_checked = 0;
static int _zero_present = 0;
@ -67,7 +67,7 @@ static int _zero_target_present(struct cmd_context *cmd,
#endif
static int _zero_modules_needed(struct dm_pool *mem,
const struct lv_segment *seg __attribute((unused)),
const struct lv_segment *seg __attribute__((unused)),
struct dm_list *modules)
{
if (!str_list_add(mem, modules, "zero")) {