From 64cdefc5404ce19083de728d8ce6d4cef5be0fc0 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Mon, 25 Oct 2010 12:01:59 +0000 Subject: [PATCH] fix header #defines --- lib/metadata/lv.h | 6 +++--- lib/metadata/pv.h | 6 +++--- lib/metadata/vg.h | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/metadata/lv.h b/lib/metadata/lv.h index d77c36249..48d5293b2 100644 --- a/lib/metadata/lv.h +++ b/lib/metadata/lv.h @@ -12,8 +12,8 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifndef _LV_H -#define _LV_H +#ifndef _LVM_LV_H +#define _LVM_LV_H union lvid; struct volume_group; @@ -64,4 +64,4 @@ char *lv_name_dup(struct dm_pool *mem, const struct logical_volume *lv); char *lv_origin_dup(struct dm_pool *mem, const struct logical_volume *lv); uint32_t lv_kernel_read_ahead(const struct logical_volume *lv); -#endif +#endif /* _LVM_LV_H */ diff --git a/lib/metadata/pv.h b/lib/metadata/pv.h index 07a781920..a02f6f8c9 100644 --- a/lib/metadata/pv.h +++ b/lib/metadata/pv.h @@ -12,8 +12,8 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifndef _PV_H -#define _PV_H +#ifndef _LVM_PV_H +#define _LVM_PV_H struct id; struct device; @@ -80,4 +80,4 @@ int is_orphan(const struct physical_volume *pv); int is_missing_pv(const struct physical_volume *pv); int is_pv(const struct physical_volume *pv); -#endif +#endif /* _LVM_PV_H */ diff --git a/lib/metadata/vg.h b/lib/metadata/vg.h index 06f92dec2..39c894a66 100644 --- a/lib/metadata/vg.h +++ b/lib/metadata/vg.h @@ -12,8 +12,8 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifndef _VG_H -#define _VG_H +#ifndef _LVM_VG_H +#define _LVM_VG_H struct cmd_context; struct dm_pool; @@ -131,4 +131,4 @@ char *vg_attr_dup(struct dm_pool *mem, const struct volume_group *vg); char *vg_uuid_dup(const struct volume_group *vg); char *vg_tags_dup(const struct volume_group *vg); -#endif +#endif /* _LVM_VG_H */ -- 2.43.5