From 2630fc6fbe0cb13ac7824ec82d8eabcb7c6a3b76 Mon Sep 17 00:00:00 2001 From: Florian Obser Date: Sun, 19 Feb 2023 11:18:53 +0100 Subject: [PATCH] Remove #ifdef SMALL, it's a distraction. From otto --- privsep.org | 4 ---- 1 file changed, 4 deletions(-) diff --git a/privsep.org b/privsep.org index c0a001c..df2135d 100644 --- a/privsep.org +++ b/privsep.org @@ -561,9 +561,7 @@ main_dispatch_frontend(int fd, short event, void *bula) { // [...] uint32_t if_index; -#ifndef SMALL int verbose; -#endif /* SMALL */ // [...] for (;;) { if ((n = imsg_get(ibuf, &imsg)) == -1) @@ -579,7 +577,6 @@ main_dispatch_frontend(int fd, short event, void *bula) memcpy(&if_index, imsg.data, sizeof(if_index)); open_bpfsock(if_index); break; -#ifndef SMALL case IMSG_CTL_RELOAD: if (main_reload() == -1) log_warnx("configuration reload failed"); @@ -593,7 +590,6 @@ main_dispatch_frontend(int fd, short event, void *bula) memcpy(&verbose, imsg.data, sizeof(verbose)); log_setverbose(verbose); break; -#endif /* SMALL */ case IMSG_UPDATE_IF: if (IMSG_DATA_SIZE(imsg) != sizeof(imsg_ifinfo)) fatalx("%s: IMSG_UPDATE_IF wrong length: %lu",