commit b59bcb53ccddc0a8f27813afbf127e54f554ae42 from: Omar Polo date: Thu May 05 10:18:05 2022 UTC garbage collect `dequeue_first_download' commit - 8115fd4a99b30c65da4fa4e88552b7aa36b71165 commit + b59bcb53ccddc0a8f27813afbf127e54f554ae42 blob - 3b80327d0b28dde9ea9e9b24d56792a8bfd1a9a2 blob + dc784197db4eb51e31bdc315d3c7535d9233e4bf --- downloads.c +++ downloads.c @@ -96,12 +96,6 @@ enqueue_download(uint32_t id, const char *path) return d; } -void -dequeue_first_download(void) -{ - STAILQ_REMOVE_HEAD(&downloads, entries); -} - struct download * download_by_id(uint32_t id) { blob - 801b4ae3314d142d7ea42a6c572f5cb8d4939e45 blob + 23fef5693b560ecabe0e48ecda84a09375d424d9 --- include/telescope.h +++ include/telescope.h @@ -310,7 +310,6 @@ struct download { void recompute_downloads(void); struct download *enqueue_download(uint32_t, const char *); -void dequeue_first_download(void); struct download *download_by_id(uint32_t); /* help.c */