From: Alejandro del Castillo Date: Wed, 10 Feb 2016 22:27:33 +0000 (-0600) Subject: str_list_last: remove unused function X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7d24212fa1c08b28bab6a33751b6ae219abb83f6;p=oweals%2Fopkg-lede.git str_list_last: remove unused function Signed-off-by: Alejandro del Castillo --- diff --git a/libopkg/str_list.c b/libopkg/str_list.c index 58a00a5..bffa6db 100644 --- a/libopkg/str_list.c +++ b/libopkg/str_list.c @@ -106,11 +106,6 @@ str_list_elt_t *str_list_next(str_list_t * list, str_list_elt_t * node) (void_list_elt_t *) node); } -str_list_elt_t *str_list_last(str_list_t * list) -{ - return (str_list_elt_t *) void_list_last((void_list_t *) list); -} - void str_list_purge(str_list_t * list) { str_list_deinit(list); diff --git a/libopkg/str_list.h b/libopkg/str_list.h index 68328a7..a73a500 100644 --- a/libopkg/str_list.h +++ b/libopkg/str_list.h @@ -40,7 +40,6 @@ 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); -str_list_elt_t *str_list_last(str_list_t * list); void str_list_purge(str_list_t * list);