From 5b28cbd7c2cd8413c189fff1286a579174ca082a Mon Sep 17 00:00:00 2001 From: Peter Rajnoha Date: Mon, 28 Apr 2014 12:11:44 +0200 Subject: [PATCH] cleanup: _move_pv is static metadata/metadata.c:363:5: warning: no previous prototype for '_move_pv' [-Wmissing-prototypes] --- lib/metadata/metadata.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/metadata/metadata.c b/lib/metadata/metadata.c index edc55efce..e2abba7e3 100644 --- a/lib/metadata/metadata.c +++ b/lib/metadata/metadata.c @@ -360,8 +360,8 @@ out: return r; } -int _move_pv(struct volume_group *vg_from, struct volume_group *vg_to, - const char *pv_name, int enforce_pv_from_source) +static int _move_pv(struct volume_group *vg_from, struct volume_group *vg_to, + const char *pv_name, int enforce_pv_from_source) { struct physical_volume *pv; struct pv_list *pvl;