From ae45bbeb76120c71e034459e550a52123cea9f0a Mon Sep 17 00:00:00 2001 From: louie Date: Sun, 2 Aug 2020 19:26:52 -0700 Subject: Set sort on by default, simplified entry_add --- entry.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'entry.h') diff --git a/entry.h b/entry.h index d0027cb..caa724e 100644 --- a/entry.h +++ b/entry.h @@ -9,9 +9,7 @@ void entry_rm(ENTRY *e, ENTRY *prev); void clear_entries(ENTRY *head); -ENTRY *entry_add_last(ENTRY *tail, ENTRY *add); - -int entry_add_sorted(ENTRY *head, ENTRY *tail, ENTRY *add); +int entry_add(ENTRY *head, ENTRY *tail, ENTRY *add); ENTRY **get_entries(ENTRY *head, int count); -- cgit