From 947d3d4441c0b4400babb4d20aeacc01f512a23d Mon Sep 17 00:00:00 2001 From: Alejandro del Castillo Date: Wed, 10 Feb 2016 16:27:36 -0600 Subject: [PATCH] pkg_src_list_pop: remove unused function Signed-off-by: Alejandro del Castillo --- libopkg/pkg_src_list.c | 5 ----- libopkg/pkg_src_list.h | 1 - 2 files changed, 6 deletions(-) diff --git a/libopkg/pkg_src_list.c b/libopkg/pkg_src_list.c index 036d0c9..1af4d82 100644 --- a/libopkg/pkg_src_list.c +++ b/libopkg/pkg_src_list.c @@ -57,8 +57,3 @@ void pkg_src_list_push(pkg_src_list_t * list, pkg_src_t * data) { void_list_push((void_list_t *) list, data); } - -pkg_src_list_elt_t *pkg_src_list_pop(pkg_src_list_t * list) -{ - return (pkg_src_list_elt_t *) void_list_pop((void_list_t *) list); -} diff --git a/libopkg/pkg_src_list.h b/libopkg/pkg_src_list.h index 5840c04..b007241 100644 --- a/libopkg/pkg_src_list.h +++ b/libopkg/pkg_src_list.h @@ -40,6 +40,5 @@ pkg_src_t *pkg_src_list_append(pkg_src_list_t * list, const char *name, const char *root_dir, const char *extra_data, int gzip); void pkg_src_list_push(pkg_src_list_t * list, pkg_src_t * data); -pkg_src_list_elt_t *pkg_src_list_pop(pkg_src_list_t * list); #endif -- 2.25.1