diff --git a/daemon/helpers.c b/daemon/helpers.c index 3bc030900..92d7b0499 100644 --- a/daemon/helpers.c +++ b/daemon/helpers.c @@ -77,15 +77,6 @@ static const struct scheduler schedulers[] = { -GList *g_list_link(GList *list, GList *el) { - el->prev = NULL; - el->next = list; - if (list) - list->prev = el; - return el; -} - - int pcre2_multi_match(pcre2_code *re, const char *s, unsigned int num, parse_func f, void *p, GQueue *q) { diff --git a/include/helpers.h b/include/helpers.h index 70ded6e9e..5e271fc1e 100644 --- a/include/helpers.h +++ b/include/helpers.h @@ -40,8 +40,6 @@ INLINE void strdupfree(char **, const char *); /*** GLIB HELPERS ***/ -GList *g_list_link(GList *, GList *); - #if !GLIB_CHECK_VERSION(2,62,0) // from https://github.com/GNOME/glib/blob/master/glib/glist.c