]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Remove outdated replacement for EV_SET (#1038)
authorguijan <guilherme.janczak@yandex.com>
Sat, 30 Apr 2022 12:42:43 +0000 (12:42 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Sat, 30 Apr 2022 12:42:51 +0000 (12:42 +0000)
This removes a workaround for a macro that was missing on
FreeBSD over 20 years ago.

src/comm/ModKqueue.cc

index 694eb3e3dc0f37d28c0f9f9de32b27aeab29bc56..2d0629cb2b1ce62dee557905056f2a8159f00d8f 100644 (file)
 
 #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;