From 9ea2c06819b8dbe97baa622874a4d854ddc90284 Mon Sep 17 00:00:00 2001 From: Javier Kohen Date: Wed, 30 Oct 2019 13:36:14 -0300 Subject: [PATCH] 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. --- Makefile.am | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 -- 2.11.0