Skip to contentSkip to conversation

master - base: Move list to base/data-struct

PATCH Joe Thornber 1 participant 1 message Jun 8, 2018

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=88ae928ca3f950fa0ecb8b8e0aff118b7360a9d7
Commit:        88ae928ca3f950fa0ecb8b8e0aff118b7360a9d7
Parent:        9573ff3a3bbd61fb178ea73e24c689822b9aca85
Author:        Joe Thornber <[email protected]>
AuthorDate:    Fri Jun 8 11:24:18 2018 +0100
Committer:     Joe Thornber <[email protected]>
CommitterDate: Fri Jun 8 11:24:18 2018 +0100

base: Move list to base/data-struct

---
 base/Makefile                   |    1 +
 base/data-struct/list.c         |  170 +++++++++++++++++++++++++++++++
 base/data-struct/list.h         |  209 +++++++++++++++++++++++++++++++++++++++
 device_mapper/Makefile          |    1 -
 device_mapper/datastruct/list.c |  168 -------------------------------
 device_mapper/libdevmapper.h    |  209 +--------------------------------------
 6 files changed, 384 insertions(+), 374 deletions(-)
base/Makefile +1 -0
index 27f539f..4dcb6b6 100644
@@ -12,6 +12,7 @@
 
 BASE_SOURCE=\
 	base/data-struct/radix-tree.c \
+	base/data-struct/list.c
 
 BASE_DEPENDS=$(addprefix $(top_builddir)/,$(subst .c,.d,$(BASE_SOURCE)))
 BASE_OBJECTS=$(addprefix $(top_builddir)/,$(subst .c,.o,$(BASE_SOURCE)))
base/data-struct/list.c new file +170 -0

170 lines not on this page · raw message

base/data-struct/list.h new file +209 -0

209 lines not on this page · raw message

device_mapper/Makefile +0 -1
index b246f82..4036cb4 100644
@@ -13,7 +13,6 @@
 DEVICE_MAPPER_SOURCE=\
 	device_mapper/datastruct/bitset.c \
 	device_mapper/datastruct/hash.c \
-	device_mapper/datastruct/list.c \
 	device_mapper/libdm-common.c \
 	device_mapper/libdm-config.c \
 	device_mapper/libdm-deptree.c \
device_mapper/datastruct/list.c deleted +0 -168

168 lines not on this page · raw message

device_mapper/libdevmapper.h +4 -205

221 lines not on this page · raw message