ppa stats graph
[ppastats.git] / src / lp_ws.c
index 2370d36..6c2e299 100644 (file)
@@ -116,28 +116,6 @@ static json_object *get_json_object(const char *url)
        return NULL;
 }
 
-static void **list_add_list(void **list1, void **list2)
-{
-       int n1, n2, n;
-       void **list;
-
-       n1 = list_length(list1);
-       n2 = list_length(list2);
-
-       n = n1 + n2 + 1;
-
-       list = malloc(sizeof(void *)*(n+1));
-
-       memcpy(list, list1, n1*sizeof(void *));
-       memcpy(list+n1, list2, n2*sizeof(void *));
-
-       list[n1+n2] = NULL;
-
-       free(list1);
-
-       return list;
-}
-
 #define json_object_to_bpph_list \
 json_object_to_binary_package_publishing_history_list