From: Alejandro del Castillo Date: Wed, 10 Feb 2016 22:27:36 +0000 (-0600) Subject: pkg_src_list_pop: remove unused function X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=947d3d4441c0b4400babb4d20aeacc01f512a23d;p=oweals%2Fopkg-lede.git pkg_src_list_pop: remove unused function Signed-off-by: Alejandro del Castillo --- 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