summaryrefslogtreecommitdiff
path: root/tools/pvcreate.c
diff options
context:
space:
mode:
authorAlasdair G Kergon <agk@redhat.com>2017-10-18 15:57:46 +0100
committerAlasdair G Kergon <agk@redhat.com>2017-10-18 15:58:13 +0100
commitf1cc5b12fd80c3c62247fccfb2e5537aef27533d (patch)
treef839eaa11450e9f52d9a3915e54db009c839d303 /tools/pvcreate.c
parent327d9d59be6f7179b2e0a756deaa0f9a196e0651 (diff)
downloadlvm2-f1cc5b12fd80c3c62247fccfb2e5537aef27533d.tar.gz
tidy: Add missing underscores to statics.
Diffstat (limited to 'tools/pvcreate.c')
-rw-r--r--tools/pvcreate.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/pvcreate.c b/tools/pvcreate.c
index 9dc50e431..73605a857 100644
--- a/tools/pvcreate.c
+++ b/tools/pvcreate.c
@@ -22,8 +22,8 @@
* Output arguments:
* pp: structure allocated by caller, fields written / validated here
*/
-static int pvcreate_restore_params_from_args(struct cmd_context *cmd, int argc,
- struct pvcreate_params *pp)
+static int _pvcreate_restore_params_from_args(struct cmd_context *cmd, int argc,
+ struct pvcreate_params *pp)
{
pp->restorefile = arg_str_value(cmd, restorefile_ARG, NULL);
@@ -63,7 +63,7 @@ static int pvcreate_restore_params_from_args(struct cmd_context *cmd, int argc,
return 1;
}
-static int pvcreate_restore_params_from_backup(struct cmd_context *cmd,
+static int _pvcreate_restore_params_from_backup(struct cmd_context *cmd,
struct pvcreate_params *pp)
{
struct volume_group *vg;
@@ -110,7 +110,7 @@ int pvcreate(struct cmd_context *cmd, int argc, char **argv)
/*
* Device info needs to be available for reading the VG backup file in
- * pvcreate_restore_params_from_backup.
+ * _pvcreate_restore_params_from_backup.
*/
lvmcache_seed_infos_from_lvmetad(cmd);
@@ -126,10 +126,10 @@ int pvcreate(struct cmd_context *cmd, int argc, char **argv)
pvcreate_params_set_defaults(&pp);
- if (!pvcreate_restore_params_from_args(cmd, argc, &pp))
+ if (!_pvcreate_restore_params_from_args(cmd, argc, &pp))
return EINVALID_CMD_LINE;
- if (!pvcreate_restore_params_from_backup(cmd, &pp))
+ if (!_pvcreate_restore_params_from_backup(cmd, &pp))
return EINVALID_CMD_LINE;
if (!pvcreate_params_from_args(cmd, &pp))