From: Alejandro del Castillo Date: Wed, 10 Feb 2016 22:27:34 +0000 (-0600) Subject: str_list_prev: remove unused function X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=52c31c1c7a6f228bc36da56ce1ed76f4f1c64e47;p=oweals%2Fopkg-lede.git str_list_prev: remove unused function Signed-off-by: Alejandro del Castillo --- diff --git a/libopkg/str_list.c b/libopkg/str_list.c index bffa6db..d93f13a 100644 --- a/libopkg/str_list.c +++ b/libopkg/str_list.c @@ -94,12 +94,6 @@ str_list_elt_t *str_list_first(str_list_t * list) return (str_list_elt_t *) void_list_first((void_list_t *) list); } -str_list_elt_t *str_list_prev(str_list_t * list, str_list_elt_t * node) -{ - return (str_list_elt_t *) void_list_prev((void_list_t *) list, - (void_list_elt_t *) node); -} - str_list_elt_t *str_list_next(str_list_t * list, str_list_elt_t * node) { return (str_list_elt_t *) void_list_next((void_list_t *) list, diff --git a/libopkg/str_list.h b/libopkg/str_list.h index a73a500..e948662 100644 --- a/libopkg/str_list.h +++ b/libopkg/str_list.h @@ -38,7 +38,6 @@ void str_list_remove(str_list_t * list, str_list_elt_t ** iter); void str_list_remove_elt(str_list_t * list, const char *target_str); str_list_elt_t *str_list_first(str_list_t * list); -str_list_elt_t *str_list_prev(str_list_t * list, str_list_elt_t * node); str_list_elt_t *str_list_next(str_list_t * list, str_list_elt_t * node); void str_list_purge(str_list_t * list);