Message ID | Yk0Mp4a/Da76D6H4@chrisdown.name |
---|---|
State | Accepted, archived |
Headers | show |
Series | dload: Remove unused ABORT_SIGINT | expand |
On 6/4/22 13:44, Chris Down wrote: > 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> > --- OK. Thanks! > lib/libalpm/dload.c | 3 +-- > 1 file changed, 1 insertion(+), 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;
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;
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(-)