From bb50f635ef6cec8b52898051e0d18f4ac3fdd331 Mon Sep 17 00:00:00 2001 From: Nathan Houghton Date: Tue, 6 Oct 2020 22:49:23 -0700 Subject: [PATCH] Fix doublecheck.sh compile errors --- mme/mme.sh | 1 - pib/psin.c | 1 + plc/SignalToNoise2.c | 5 ----- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/mme/mme.sh b/mme/mme.sh index 289d4b62..d82e1c1e 100755 --- a/mme/mme.sh +++ b/mme/mme.sh @@ -13,7 +13,6 @@ gcc -Wall -Wextra -Wno-unused-parameter -o mme mme.c # -------------------------------------------------------------------- gcc -Wall -Wextra -Wno-unused-parameter -c EthernetHeader.c -gcc -Wall -Wextra -Wno-unused-parameter -c FragmentHeader.c gcc -Wall -Wextra -Wno-unused-parameter -c HomePlugHeader.c gcc -Wall -Wextra -Wno-unused-parameter -c QualcommHeader.c gcc -Wall -Wextra -Wno-unused-parameter -c MMEMode.c diff --git a/pib/psin.c b/pib/psin.c index b5bb116f..ef1e1813 100644 --- a/pib/psin.c +++ b/pib/psin.c @@ -85,6 +85,7 @@ #include "../tools/putoptv.c" #include "../tools/version.c" #include "../tools/fdchecksum32.c" +#include "../tools/checksum32.c" #include "../tools/hexdecode.c" #include "../tools/hexstring.c" #include "../tools/todigit.c" diff --git a/plc/SignalToNoise2.c b/plc/SignalToNoise2.c index a0b119e2..b7fd8dd0 100644 --- a/plc/SignalToNoise2.c +++ b/plc/SignalToNoise2.c @@ -83,8 +83,6 @@ static uint8_t const mod2bits [AMP_BITS] = #endif -#ifndef TONEMAPS2_SOURCE - static uint8_t const mod2db [AMP_BITS] = { @@ -99,9 +97,6 @@ static uint8_t const mod2db [AMP_BITS] = 36 }; - -#endif - signed SignalToNoise2 (struct plc * plc) {