All of lore.kernel.org
 help / color / mirror / Atom feed
From: wysochanski@sourceware.org <wysochanski@sourceware.org>
To: lvm-devel@redhat.com
Subject: LVM2/liblvm lvm_lv.c lvm_misc.c lvm_misc.h lvm ...
Date: 9 Jul 2010 16:57:35 -0000	[thread overview]
Message-ID: <20100709165735.19125.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	wysochanski at 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))



                 reply	other threads:[~2010-07-09 16:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100709165735.19125.qmail@sourceware.org \
    --to=wysochanski@sourceware.org \
    --cc=lvm-devel@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.