From 9ba1d024dbed517526295f43d6363f3657040a2f Mon Sep 17 00:00:00 2001 From: Thierry Fournier Date: Wed, 2 Mar 2016 08:36:14 +0100 Subject: [PATCH] CLEANUP: map: it seems that the map were planed to be chained It seems that the map were planed to be chained, but obviously it is not the case. This patch remove the struct which should be used gor the chain --- include/types/map.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/include/types/map.h b/include/types/map.h index c2e251bd63..cea5aa55d4 100644 --- a/include/types/map.h +++ b/include/types/map.h @@ -25,15 +25,7 @@ #include #include -/* These structs contains a string representation of the map. These struct is - * sorted by file. Permit to hot-add and hot-remove entries. - * - * "maps" is the list head. This list cotains all the mao file name identifier. - */ -extern struct list maps; - struct map_descriptor { - struct list list; /* used for listing */ struct sample_conv *conv; /* original converter descriptor */ struct pattern_head pat; /* the pattern matching associated to the map */ int do_free; /* set if is the orignal pat and must be freed */