Skip to contentSkip to conversation

LVM2/lib datastruct/lvm-types.h uuid/uuid.h

PATCH [email protected] 1 participant 1 message Jul 18, 2011

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: mornfall at sourceware.org 2011-07-18 14:34:34

Modified files:
lib/datastruct : lvm-types.h
lib/uuid : uuid.h

Log message:
Revert the #include changes. Need to fix this at the #include site for now, and eventually refactor the way we structure #includes in the all of the library.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/datastruct/lvm-types.h.diff?cvsroot=lvm2&r1=1.17&r2=1.18
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/uuid/uuid.h.diff?cvsroot=lvm2&r1=1.18&r2=1.19

lib/datastruct/lvm-types.h +0 -1
@@ -16,7 +16,6 @@
 #ifndef _LVM_TYPES_H
 #define _LVM_TYPES_H
 
-#include <libdevmapper.h> // dm_list
 #include <sys/types.h>
 #include <inttypes.h>
 
lib/uuid/uuid.h +0 -4
@@ -16,10 +16,6 @@
 #ifndef _LVM_UUID_H
 #define _LVM_UUID_H
 
-#include <stdint.h> /* int8_t */
-#include <malloc.h> /* size_t */
-#include "libdevmapper.h"
-
 #define ID_LEN 32
 #define ID_LEN_S "32"