mirror of
git://sourceware.org/git/lvm2.git
synced 2025-02-21 05:57:48 +03:00
clang: correcting imprecise prototype
These internal header were using misleading variable names in function prototypes, but correct names were used in function definition. Noticed with: clang-tidy --checks=readability-inconsistent-declaration-parameter-name No functional change.
This commit is contained in:
parent
f66c76e5ea
commit
5e127fb8e9
@ -36,7 +36,7 @@ struct target *create_target(uint64_t start,
|
||||
uint64_t len,
|
||||
const char *type, const char *params);
|
||||
|
||||
int add_dev_node(const char *dev_name, uint32_t minor, uint32_t major,
|
||||
int add_dev_node(const char *dev_name, uint32_t major, uint32_t minor,
|
||||
uid_t uid, gid_t gid, mode_t mode, int check_udev, unsigned rely_on_udev);
|
||||
int rm_dev_node(const char *dev_name, int check_udev, unsigned rely_on_udev);
|
||||
int rename_dev_node(const char *old_name, const char *new_name,
|
||||
|
@ -384,7 +384,7 @@ void set_pe_align_offset(struct physical_volume *pv, uint64_t data_alignment_off
|
||||
int pv_write_orphan(struct cmd_context *cmd, struct physical_volume *pv);
|
||||
|
||||
int check_dev_block_size_for_vg(struct device *dev, const struct volume_group *vg,
|
||||
unsigned int *max_phys_block_size_found);
|
||||
unsigned int *max_logical_block_size_found);
|
||||
int check_pv_dev_sizes(struct volume_group *vg);
|
||||
uint32_t vg_bad_status_bits(const struct volume_group *vg, uint64_t status);
|
||||
int add_pv_to_vg(struct volume_group *vg, const char *pv_name,
|
||||
|
@ -1235,7 +1235,7 @@ int dm_stats_get_current_area_offset(const struct dm_stats *dms,
|
||||
uint64_t *offset);
|
||||
|
||||
int dm_stats_get_current_area_len(const struct dm_stats *dms,
|
||||
uint64_t *start);
|
||||
uint64_t *len);
|
||||
|
||||
/*
|
||||
* Return a pointer to the program_id string for region at the current
|
||||
|
@ -36,7 +36,7 @@ struct target *create_target(uint64_t start,
|
||||
uint64_t len,
|
||||
const char *type, const char *params);
|
||||
|
||||
int add_dev_node(const char *dev_name, uint32_t minor, uint32_t major,
|
||||
int add_dev_node(const char *dev_name, uint32_t major, uint32_t minor,
|
||||
uid_t uid, gid_t gid, mode_t mode, int check_udev, unsigned rely_on_udev);
|
||||
int rm_dev_node(const char *dev_name, int check_udev, unsigned rely_on_udev);
|
||||
int rename_dev_node(const char *old_name, const char *new_name,
|
||||
|
Loading…
x
Reference in New Issue
Block a user