]> git.ipfire.org Git - thirdparty/public-inbox.git/commitdiff
xt/mem-nntpd-tls: drop :epoll import tag use
authorEric Wong <e@80x24.org>
Mon, 25 Sep 2023 23:29:56 +0000 (23:29 +0000)
committerEric Wong <e@80x24.org>
Tue, 26 Sep 2023 07:02:18 +0000 (07:02 +0000)
The export tag for :epoll no longer exists and it seems like
it hasn't been needed in a while, anyways.  We can also drop a
useless EPOLLIN import, as well.

Fixes: 3005c1bc5d05 (ds: use object-oriented API for epoll)
xt/mem-nntpd-tls.t

index a861e318b4fdecf74e5e3a4ec01fa510ecc86367..f9b98a6b35efe13ae37e239ac3942897810e5e38 100644 (file)
@@ -9,7 +9,7 @@ use Socket qw(SOCK_STREAM IPPROTO_TCP SOL_SOCKET);
 require_mods(qw(-nntpd));
 require PublicInbox::InboxWritable;
 require PublicInbox::SearchIdx;
-use PublicInbox::Syscall qw(:epoll);
+use PublicInbox::Syscall;
 use PublicInbox::DS;
 my $version = 2; # v2 needs newer git
 require_git('2.6') if $version >= 2;
@@ -163,7 +163,7 @@ done_testing();
 package NNTPC;
 use v5.12;
 use parent qw(PublicInbox::DS);
-use PublicInbox::Syscall qw(EPOLLIN EPOLLOUT EPOLLONESHOT);
+use PublicInbox::Syscall qw(EPOLLOUT EPOLLONESHOT);
 use Data::Dumper;
 
 # return true if complete, false if incomplete (or failure)