From 14a1a0b9bd873fda63b6a123aaf0fbb69286d72c Mon Sep 17 00:00:00 2001 From: iphydf Date: Tue, 23 Jan 2024 19:42:02 +0000 Subject: [PATCH] cleanup: Remove plan9 support. We really don't support it. I tried for half an hour to get some kind of plan9 cross compilation to work, but it's not working. If anyone wants to bring it back, they are welcome to send a PR including a CI check for it. Until then, these 5 lines of unused code are gone. --- other/bootstrap_daemon/docker/tox-bootstrapd.sha256 | 2 +- toxcore/network.c | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/other/bootstrap_daemon/docker/tox-bootstrapd.sha256 b/other/bootstrap_daemon/docker/tox-bootstrapd.sha256 index 2b644300..d8d2e67d 100644 --- a/other/bootstrap_daemon/docker/tox-bootstrapd.sha256 +++ b/other/bootstrap_daemon/docker/tox-bootstrapd.sha256 @@ -1 +1 @@ -09cd2be2005d21ad9f146a59d4f7d7b2221a07d7b6e72a63387dc468ea477a1d /usr/local/bin/tox-bootstrapd +9190d56ef3b346bc1632e6d7ee5fe5362be661bff58f2d6d88b5c1d1827394cd /usr/local/bin/tox-bootstrapd diff --git a/toxcore/network.c b/toxcore/network.c index 24919e09..b8928661 100644 --- a/toxcore/network.c +++ b/toxcore/network.c @@ -37,12 +37,6 @@ #include "network.h" -#ifdef PLAN9 -#include // Plan 9 requires this is imported first -// Comment line here to avoid reordering by source code formatters. -#include -#endif /* PLAN9 */ - #ifdef OS_WIN32 // Put win32 includes here // The mingw32/64 Windows library warns about including winsock2.h after // windows.h even though with the above it's a valid thing to do. So, to make