dload: Remove unused ABORT_SIGINT

Message ID Yk0Mp4a/Da76D6H4@chrisdown.name
State New
Headers show
Series dload: Remove unused ABORT_SIGINT | expand

Commit Message

Chris Down April 6, 2022, 3:44 a.m. UTC
The last user of ABORT_SIGINT was removed in commit 84723cab5dfc
("Cleanup the old sequential download code"), and this isn't exported as
part of the public API.

Signed-off-by: Chris Down <chris@chrisdown.name>
---
 lib/libalpm/dload.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Patch

diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c
index 7c27c3ea..4fa17b35 100644
--- a/lib/libalpm/dload.c
+++ b/lib/libalpm/dload.c
@@ -153,8 +153,7 @@  static char *get_fullpath(const char *path, const char *filename,
 }
 
 enum {
-	ABORT_SIGINT = 1,
-	ABORT_OVER_MAXFILESIZE
+	ABORT_OVER_MAXFILESIZE = 1,
 };
 
 static int dload_interrupted;