From: Javier Kohen Date: Wed, 30 Oct 2019 16:36:14 +0000 (-0300) Subject: Create internal library for utils_llist X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=9ea2c06819b8dbe97baa622874a4d854ddc90284;p=collectd.git Create internal library for utils_llist We plan to use this library in the write_gcm plugin in the https://github.com/Stackdriver/collectd fork. I hope it's OK with you to make this change upstream before we are ready to contribute the Stackdriver plug-in into this codebase. --- diff --git a/Makefile.am b/Makefile.am index 7795fd39..258603f9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -136,6 +136,7 @@ noinst_LTLIBRARIES = \ libheap.la \ libignorelist.la \ liblatency.la \ + libllist.la \ liblookup.la \ libmetadata.la \ libmount.la \ @@ -244,8 +245,6 @@ collectd_SOURCES = \ src/daemon/utils_cache.h \ src/daemon/utils_complain.c \ src/daemon/utils_complain.h \ - src/daemon/utils_llist.c \ - src/daemon/utils_llist.h \ src/daemon/utils_random.c \ src/daemon/utils_random.h \ src/daemon/utils_subst.c \ @@ -265,6 +264,7 @@ collectd_LDADD = \ libavltree.la \ libcommon.la \ libheap.la \ + libllist.la \ liboconfig.la \ -lm \ $(COMMON_LIBS) \ @@ -393,6 +393,10 @@ libignorelist_la_SOURCES = \ src/utils/ignorelist/ignorelist.c \ src/utils/ignorelist/ignorelist.h +libllist_la_SOURCES = \ + src/daemon/utils_llist.c \ + src/daemon/utils_llist.h + libmetadata_la_SOURCES = \ src/utils/metadata/meta_data.c \ src/utils/metadata/meta_data.h