aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Down <chris@chrisdown.name>2022-04-06 04:44:39 +0100
committerAllan McRae <allan@archlinux.org>2022-07-21 20:00:44 +1000
commit015eb31c3a946d109ddd8ec719a8595a76e02422 (patch)
treebaa46b8bd76e5fe0b624df58f2718b76e6a23814
parentcb9776a07bcaeb826144545402ec978b3f7b4300 (diff)
dload: Remove unused ABORT_SIGINT
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> Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--lib/libalpm/dload.c3
1 files changed, 1 insertions, 2 deletions
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;