summaryrefslogtreecommitdiff
path: root/tools/vgremove.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/vgremove.c
parent327d9d59be6f7179b2e0a756deaa0f9a196e0651 (diff)
downloadlvm2-f1cc5b12fd80c3c62247fccfb2e5537aef27533d.tar.gz
tidy: Add missing underscores to statics.
Diffstat (limited to 'tools/vgremove.c')
-rw-r--r--tools/vgremove.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/vgremove.c b/tools/vgremove.c
index d105fc645..8bf384151 100644
--- a/tools/vgremove.c
+++ b/tools/vgremove.c
@@ -15,9 +15,9 @@
#include "tools.h"
-static int vgremove_single(struct cmd_context *cmd, const char *vg_name,
- struct volume_group *vg,
- struct processing_handle *handle __attribute__((unused)))
+static int _vgremove_single(struct cmd_context *cmd, const char *vg_name,
+ struct volume_group *vg,
+ struct processing_handle *handle __attribute__((unused)))
{
/*
* Though vgremove operates per VG by definition, internally, it
@@ -111,7 +111,7 @@ int vgremove(struct cmd_context *cmd, int argc, char **argv)
cmd->handles_missing_pvs = 1;
ret = process_each_vg(cmd, argc, argv, NULL, NULL,
READ_FOR_UPDATE, 0,
- NULL, &vgremove_single);
+ NULL, &_vgremove_single);
return ret;
}