]> sourceware.org Git - lvm2.git/commitdiff
Remove unnecessary list of includes in liblvm files.
authorDave Wysochanski <dwysocha@redhat.com>
Fri, 9 Jul 2010 16:57:34 +0000 (16:57 +0000)
committerDave Wysochanski <dwysocha@redhat.com>
Fri, 9 Jul 2010 16:57:34 +0000 (16:57 +0000)
Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
liblvm/lvm_lv.c
liblvm/lvm_misc.c
liblvm/lvm_misc.h
liblvm/lvm_vg.c

index e67e7fe767e1c4d9c9a6d787abe08e0807761d1e..47b95f9471ab65fbc44866b02de7a4a389dfd12c 100644 (file)
@@ -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))
index f52c5630cc2664041b1aa362bf77f612a7eded7a..e339faab24fcd2d1cb2259ad050fb6c1a43bcdb1 100644 (file)
@@ -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)
 {
index 1d73532f4400c539e08b133969342f768961d5b5..ced1f0f0904b320f81c1ddde186026d5ced2984b 100644 (file)
 #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);
 
index 99558c74fb92b3f722e028956fd9d6136262dc80..a75652d38efe1864cb07b3256627c81284519900 100644 (file)
 #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))
This page took 0.038265 seconds and 5 git commands to generate.