From 46c5de56908abd9f1e54de028416f113a4aab7aa Mon Sep 17 00:00:00 2001 From: Alejandro del Castillo Date: Wed, 10 Feb 2016 16:27:31 -0600 Subject: [PATCH] pkg_dest_list_push: remove unused functions Signed-off-by: Alejandro del Castillo --- libopkg/pkg_dest_list.c | 5 ----- libopkg/pkg_dest_list.h | 1 - 2 files changed, 6 deletions(-) diff --git a/libopkg/pkg_dest_list.c b/libopkg/pkg_dest_list.c index ebc80cc..7c57415 100644 --- a/libopkg/pkg_dest_list.c +++ b/libopkg/pkg_dest_list.c @@ -66,11 +66,6 @@ pkg_dest_t *pkg_dest_list_append(pkg_dest_list_t * list, const char *name, return pkg_dest; } -void pkg_dest_list_push(pkg_dest_list_t * list, pkg_dest_t * data) -{ - void_list_push((void_list_t *) list, data); -} - pkg_dest_list_elt_t *pkg_dest_list_pop(pkg_dest_list_t * list) { return (pkg_dest_list_elt_t *) void_list_pop((void_list_t *) list); diff --git a/libopkg/pkg_dest_list.h b/libopkg/pkg_dest_list.h index 2863f1d..67b1028 100644 --- a/libopkg/pkg_dest_list.h +++ b/libopkg/pkg_dest_list.h @@ -32,7 +32,6 @@ void pkg_dest_list_deinit(pkg_dest_list_t * list); pkg_dest_t *pkg_dest_list_append(pkg_dest_list_t * list, const char *name, const char *root_dir, const char *lists_dir); -void pkg_dest_list_push(pkg_dest_list_t * list, pkg_dest_t * data); pkg_dest_list_elt_t *pkg_dest_list_pop(pkg_dest_list_t * list); #endif -- 2.25.1