From f8ab32aaa4efce2c9a310a14d10b19fb8544cfd9 Mon Sep 17 00:00:00 2001 From: iphydf Date: Sat, 2 May 2020 00:34:13 +0100 Subject: Add a check that we don't have any unused functions. This check puts all of our code in a C++ anonymous namespace, which is effectively making all functions `static`. This allows the compiler to determine that a function is unused, so we can delete it. --- testing/DHT_test.c | 1 + 1 file changed, 1 insertion(+) (limited to 'testing/DHT_test.c') diff --git a/testing/DHT_test.c b/testing/DHT_test.c index 8ba61ec2..5f28eb99 100644 --- a/testing/DHT_test.c +++ b/testing/DHT_test.c @@ -17,6 +17,7 @@ #define _XOPEN_SOURCE 600 #endif +#include #include #include #include -- cgit v1.2.3