public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
* LVM2/liblvm lvm_lv.c lvm_misc.c lvm_misc.h lvm ...
@ 2010-07-09 16:57 wysochanski
  0 siblings, 0 replies; only message in thread
From: wysochanski @ 2010-07-09 16:57 UTC (permalink / raw)
  To: lvm-devel, lvm2-cvs

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	wysochanski@sourceware.org	2010-07-09 16:57:34

Modified files:
	liblvm         : lvm_lv.c lvm_misc.c lvm_misc.h lvm_vg.c 

Log message:
	Remove unnecessary list of includes in liblvm files.
	
	Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/liblvm/lvm_lv.c.diff?cvsroot=lvm2&r1=1.23&r2=1.24
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/liblvm/lvm_misc.c.diff?cvsroot=lvm2&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/liblvm/lvm_misc.h.diff?cvsroot=lvm2&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/liblvm/lvm_vg.c.diff?cvsroot=lvm2&r1=1.42&r2=1.43

--- LVM2/liblvm/lvm_lv.c	2010/07/09 15:34:47	1.23
+++ LVM2/liblvm/lvm_lv.c	2010/07/09 16:57:34	1.24
@@ -22,8 +22,6 @@
 #include "activate.h"
 #include "lvm_misc.h"
 
-#include <string.h>
-
 static int _lv_check_handle(const lv_t lv, const int vg_writeable)
 {
 	if (!lv || !lv->vg || vg_read_error(lv->vg))
--- LVM2/liblvm/lvm_misc.c	2010/02/24 18:16:54	1.1
+++ LVM2/liblvm/lvm_misc.c	2010/07/09 16:57:34	1.2
@@ -12,7 +12,9 @@
  * Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
+#include "lvm2app.h"
 #include "lvm_misc.h"
+#include "lib.h"
 
 struct dm_list *tag_list_copy(struct dm_pool *p, struct dm_list *tag_list)
 {
--- LVM2/liblvm/lvm_misc.h	2010/02/24 18:16:54	1.1
+++ LVM2/liblvm/lvm_misc.h	2010/07/09 16:57:34	1.2
@@ -14,15 +14,7 @@
 #ifndef _LVM2APP_MISC_H
 #define _LVM2APP_MISC_H
 
-#include "lib.h"
-#include "lvm2app.h"
-#include "toolcontext.h"
-#include "metadata-exported.h"
-#include "archiver.h"
-#include "locking.h"
-#include "lvm-string.h"
-#include "lvmcache.h"
-#include "metadata.h"
+#include "libdevmapper.h"
 
 struct dm_list *tag_list_copy(struct dm_pool *p, struct dm_list *tag_list);
 
--- LVM2/liblvm/lvm_vg.c	2010/07/09 15:34:47	1.42
+++ LVM2/liblvm/lvm_vg.c	2010/07/09 16:57:34	1.43
@@ -15,17 +15,12 @@
 #include "lib.h"
 #include "lvm2app.h"
 #include "toolcontext.h"
-#include "metadata-exported.h"
+#include "metadata.h"
 #include "archiver.h"
 #include "locking.h"
-#include "lvm-string.h"
 #include "lvmcache.h"
-#include "metadata.h"
 #include "lvm_misc.h"
 
-#include <errno.h>
-#include <string.h>
-
 int lvm_vg_add_tag(vg_t vg, const char *tag)
 {
 	if (vg_read_error(vg))


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-07-09 16:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-09 16:57 LVM2/liblvm lvm_lv.c lvm_misc.c lvm_misc.h lvm wysochanski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).