From: guijan Date: Sat, 30 Apr 2022 12:42:43 +0000 (+0000) Subject: Remove outdated replacement for EV_SET (#1038) X-Git-Tag: SQUID_6_0_1~197 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dade6e00516f35dee846934780507409ab3f37b6;p=thirdparty%2Fsquid.git Remove outdated replacement for EV_SET (#1038) This removes a workaround for a macro that was missing on FreeBSD over 20 years ago. --- diff --git a/src/comm/ModKqueue.cc b/src/comm/ModKqueue.cc index 694eb3e3dc..2d0629cb2b 100644 --- a/src/comm/ModKqueue.cc +++ b/src/comm/ModKqueue.cc @@ -45,19 +45,6 @@ #define KE_LENGTH 128 -/* jlemon goofed up and didn't add EV_SET until fbsd 4.3 */ - -#ifndef EV_SET -#define EV_SET(kevp, a, b, c, d, e, f) do { \ - (kevp)->ident = (a); \ - (kevp)->filter = (b); \ - (kevp)->flags = (c); \ - (kevp)->fflags = (d); \ - (kevp)->data = (e); \ - (kevp)->udata = (f); \ -} while(0) -#endif - static void kq_update_events(int, short, PF *); static int kq;