From f8881f9bb9a3180f97a87f098dc8a76e74238f20 Mon Sep 17 00:00:00 2001 From: Daniele Forsi IU5HKX Date: Sun, 3 Aug 2025 21:58:26 +0200 Subject: [PATCH] Remove disabled code None of these simulators does multicast networking. --- simulators/simatd578.c | 7 ------- simulators/simeasycomm.c | 7 ------- simulators/simft1000.c | 7 ------- simulators/simft450.c | 7 ------- simulators/simft710.c | 7 ------- simulators/simft736.c | 7 ------- simulators/simft747gx.c | 7 ------- simulators/simft817.c | 7 ------- simulators/simft818.c | 7 ------- simulators/simft847.c | 7 ------- simulators/simft897.c | 7 ------- simulators/simft990.c | 7 ------- simulators/simft991.c | 7 ------- simulators/simftdx101.c | 7 ------- simulators/simftdx1200.c | 7 ------- simulators/simftdx3000.c | 7 ------- simulators/simftdx5000.c | 7 ------- simulators/simic2730.c | 7 ------- simulators/simic275.c | 7 ------- simulators/simic7000.c | 7 ------- simulators/simic705.c | 7 ------- simulators/simic7100.c | 7 ------- simulators/simic7200.c | 7 ------- simulators/simic7300.c | 7 ------- simulators/simic7600.c | 7 ------- simulators/simic7610.c | 7 ------- simulators/simic7700.c | 7 ------- simulators/simic7851.c | 7 ------- simulators/simic905.c | 7 ------- simulators/simic910.c | 7 ------- simulators/simic9100.c | 6 ------ simulators/simic9700.c | 7 ------- simulators/simicgeneric.c | 7 ------- simulators/simicr8600.c | 7 ------- simulators/simid5100.c | 7 ------- simulators/simjupiter.c | 7 ------- simulators/simkenwood.c | 7 ------- simulators/simmicom.c | 7 ------- simulators/simorion.c | 7 ------- simulators/simpmr171.c | 7 ------- simulators/simpowersdr.c | 7 ------- simulators/simqrplabs.c | 7 ------- simulators/simrotorez.c | 7 ------- simulators/simspid.c | 7 ------- simulators/simtmd710.c | 7 ------- simulators/simtrusdx.c | 7 ------- simulators/simts450.c | 7 ------- simulators/simts590.c | 7 ------- simulators/simts950.c | 7 ------- simulators/simyaesu.c | 7 ------- 50 files changed, 349 deletions(-) diff --git a/simulators/simatd578.c b/simulators/simatd578.c index 127aa8c11..8f5a4dd5c 100644 --- a/simulators/simatd578.c +++ b/simulators/simatd578.c @@ -1,13 +1,6 @@ // can run this using rigctl/rigctld and socat pty devices #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simeasycomm.c b/simulators/simeasycomm.c index f7ab54378..8089277bb 100644 --- a/simulators/simeasycomm.c +++ b/simulators/simeasycomm.c @@ -1,13 +1,6 @@ // can run this using rigctl/rigctld and socat pty devices #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simft1000.c b/simulators/simft1000.c index 83f534a28..54d65c4df 100644 --- a/simulators/simft1000.c +++ b/simulators/simft1000.c @@ -1,13 +1,6 @@ // can run this using rigctl/rigctld and socat pty devices #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simft450.c b/simulators/simft450.c index bff6b157b..8456e13dd 100644 --- a/simulators/simft450.c +++ b/simulators/simft450.c @@ -1,13 +1,6 @@ // can run this using rigctl/rigctld and socat pty devices #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simft710.c b/simulators/simft710.c index 2949a8aa5..83471fdfb 100644 --- a/simulators/simft710.c +++ b/simulators/simft710.c @@ -1,13 +1,6 @@ // can run this using rigctl/rigctld and socat pty devices #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simft736.c b/simulators/simft736.c index 7f493e88d..fbea1dd2f 100644 --- a/simulators/simft736.c +++ b/simulators/simft736.c @@ -1,13 +1,6 @@ // can run this using rigctl/rigctld and socat pty devices #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simft747gx.c b/simulators/simft747gx.c index 97205ea5b..1087fc175 100644 --- a/simulators/simft747gx.c +++ b/simulators/simft747gx.c @@ -1,13 +1,6 @@ // can run this using rigctl/rigctld and socat pty devices #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simft817.c b/simulators/simft817.c index d345ce64b..c14c0315b 100644 --- a/simulators/simft817.c +++ b/simulators/simft817.c @@ -1,13 +1,6 @@ // can run this using rigctl/rigctld and socat pty devices #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simft818.c b/simulators/simft818.c index 6c66b4f57..f14e7e002 100644 --- a/simulators/simft818.c +++ b/simulators/simft818.c @@ -1,13 +1,6 @@ // can run this using rigctl/rigctld and socat pty devices #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simft847.c b/simulators/simft847.c index 91e357744..900406547 100644 --- a/simulators/simft847.c +++ b/simulators/simft847.c @@ -1,13 +1,6 @@ // can run this using rigctl/rigctld and socat pty devices #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simft897.c b/simulators/simft897.c index cb0bb6806..e12bc4d68 100644 --- a/simulators/simft897.c +++ b/simulators/simft897.c @@ -1,13 +1,6 @@ // can run this using rigctl/rigctld and socat pty devices #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simft990.c b/simulators/simft990.c index 352714bd1..fa67bc81a 100644 --- a/simulators/simft990.c +++ b/simulators/simft990.c @@ -2,13 +2,6 @@ // emulates 1.2 ROM FT990 which can only read 1492 bytes #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simft991.c b/simulators/simft991.c index 38c7260c5..b9e4b9448 100644 --- a/simulators/simft991.c +++ b/simulators/simft991.c @@ -1,13 +1,6 @@ // can run this using rigctl/rigctld and socat pty devices #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simftdx101.c b/simulators/simftdx101.c index 8a796a54d..6bbde4374 100644 --- a/simulators/simftdx101.c +++ b/simulators/simftdx101.c @@ -1,13 +1,6 @@ // can run this using rigctl/rigctld and socat pty devices #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simftdx1200.c b/simulators/simftdx1200.c index f0781367e..d91db1c79 100644 --- a/simulators/simftdx1200.c +++ b/simulators/simftdx1200.c @@ -1,13 +1,6 @@ // can run this using rigctl/rigctld and socat pty devices #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simftdx3000.c b/simulators/simftdx3000.c index eb935aacc..dbfa63d51 100644 --- a/simulators/simftdx3000.c +++ b/simulators/simftdx3000.c @@ -1,13 +1,6 @@ // can run this using rigctl/rigctld and socat pty devices #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simftdx5000.c b/simulators/simftdx5000.c index cbe30c164..a60d39380 100644 --- a/simulators/simftdx5000.c +++ b/simulators/simftdx5000.c @@ -1,13 +1,6 @@ // can run this using rigctl/rigctld and socat pty devices #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simic2730.c b/simulators/simic2730.c index 69470d674..fa044eefe 100644 --- a/simulators/simic2730.c +++ b/simulators/simic2730.c @@ -3,13 +3,6 @@ // Needs a lot of improvement to work on all Icoms #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simic275.c b/simulators/simic275.c index 3eca1bb59..11023c0a9 100644 --- a/simulators/simic275.c +++ b/simulators/simic275.c @@ -3,13 +3,6 @@ // Needs a lot of improvement to work on all Icoms #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simic7000.c b/simulators/simic7000.c index 4f29e54e4..d02aa2142 100644 --- a/simulators/simic7000.c +++ b/simulators/simic7000.c @@ -3,13 +3,6 @@ // Needs a lot of improvement to work on all Icoms #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simic705.c b/simulators/simic705.c index 9472ffc24..47abe673f 100644 --- a/simulators/simic705.c +++ b/simulators/simic705.c @@ -3,13 +3,6 @@ // Needs a lot of improvement to work on all Icoms #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simic7100.c b/simulators/simic7100.c index c75d89474..e2502f52e 100644 --- a/simulators/simic7100.c +++ b/simulators/simic7100.c @@ -3,13 +3,6 @@ // Needs a lot of improvement to work on all Icoms #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simic7200.c b/simulators/simic7200.c index 7f16ff8a8..e33c22543 100644 --- a/simulators/simic7200.c +++ b/simulators/simic7200.c @@ -3,13 +3,6 @@ // Needs a lot of improvement to work on all Icoms #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simic7300.c b/simulators/simic7300.c index 7757d5c6b..f6f0b8687 100644 --- a/simulators/simic7300.c +++ b/simulators/simic7300.c @@ -3,13 +3,6 @@ // Needs a lot of improvement to work on all Icoms #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simic7600.c b/simulators/simic7600.c index b61f19afc..eb9232e00 100644 --- a/simulators/simic7600.c +++ b/simulators/simic7600.c @@ -3,13 +3,6 @@ // Needs a lot of improvement to work on all Icoms #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simic7610.c b/simulators/simic7610.c index 72b9b8b16..f38f36cf3 100644 --- a/simulators/simic7610.c +++ b/simulators/simic7610.c @@ -2,13 +2,6 @@ // Needs a lot of improvement to work on all Icoms #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simic7700.c b/simulators/simic7700.c index 278e658a4..bf69128af 100644 --- a/simulators/simic7700.c +++ b/simulators/simic7700.c @@ -3,13 +3,6 @@ // Needs a lot of improvement to work on all Icoms #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simic7851.c b/simulators/simic7851.c index 15e881f07..031febe46 100644 --- a/simulators/simic7851.c +++ b/simulators/simic7851.c @@ -2,13 +2,6 @@ // Needs a lot of improvement to work on all Icoms #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simic905.c b/simulators/simic905.c index aa0134f6f..d439b2419 100644 --- a/simulators/simic905.c +++ b/simulators/simic905.c @@ -3,13 +3,6 @@ // Needs a lot of improvement to work on all Icoms #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simic910.c b/simulators/simic910.c index ec4209274..38fec3e08 100644 --- a/simulators/simic910.c +++ b/simulators/simic910.c @@ -3,13 +3,6 @@ // Needs a lot of improvement to work on all Icoms #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simic9100.c b/simulators/simic9100.c index e11b1151e..1fbb23b1d 100644 --- a/simulators/simic9100.c +++ b/simulators/simic9100.c @@ -3,12 +3,6 @@ // Needs a lot of improvement to work on all Icoms #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif #include #include #include diff --git a/simulators/simic9700.c b/simulators/simic9700.c index 30cba4e40..88113a902 100644 --- a/simulators/simic9700.c +++ b/simulators/simic9700.c @@ -3,13 +3,6 @@ // Needs a lot of improvement to work on all Icoms #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simicgeneric.c b/simulators/simicgeneric.c index bb552ce48..91e584796 100644 --- a/simulators/simicgeneric.c +++ b/simulators/simicgeneric.c @@ -3,13 +3,6 @@ // Needs a lot of improvement to work on all Icoms #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simicr8600.c b/simulators/simicr8600.c index 0ba3c25a5..d2b6a8e32 100644 --- a/simulators/simicr8600.c +++ b/simulators/simicr8600.c @@ -3,13 +3,6 @@ // Needs a lot of improvement to work on all Icoms #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simid5100.c b/simulators/simid5100.c index 57affadb6..a3aaf7da1 100644 --- a/simulators/simid5100.c +++ b/simulators/simid5100.c @@ -3,13 +3,6 @@ // Needs a lot of improvement to work on all Icoms #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simjupiter.c b/simulators/simjupiter.c index bd61eaa27..badcc73b0 100644 --- a/simulators/simjupiter.c +++ b/simulators/simjupiter.c @@ -1,13 +1,6 @@ // can run this using rigctl/rigctld and socat pty devices #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simkenwood.c b/simulators/simkenwood.c index cdc013ef4..0ec10f0c7 100644 --- a/simulators/simkenwood.c +++ b/simulators/simkenwood.c @@ -1,13 +1,6 @@ // can run this using rigctl/rigctld and socat pty devices #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simmicom.c b/simulators/simmicom.c index f0d40f84a..b567bdd4b 100644 --- a/simulators/simmicom.c +++ b/simulators/simmicom.c @@ -1,13 +1,6 @@ // can run this using rigctl/rigctld and socat pty devices #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simorion.c b/simulators/simorion.c index 5a98f8127..8d97a772f 100644 --- a/simulators/simorion.c +++ b/simulators/simorion.c @@ -1,13 +1,6 @@ // can run this using rigctl/rigctld and socat pty devices #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simpmr171.c b/simulators/simpmr171.c index c0dc117f2..ff9b4a905 100644 --- a/simulators/simpmr171.c +++ b/simulators/simpmr171.c @@ -1,13 +1,6 @@ // can run this using rigctl/rigctld and socat pty devices #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simpowersdr.c b/simulators/simpowersdr.c index b0e4aa485..5049702f5 100644 --- a/simulators/simpowersdr.c +++ b/simulators/simpowersdr.c @@ -1,13 +1,6 @@ // can run this using rigctl/rigctld and socat pty devices #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simqrplabs.c b/simulators/simqrplabs.c index 2bb1f9c41..4492e28f1 100644 --- a/simulators/simqrplabs.c +++ b/simulators/simqrplabs.c @@ -1,13 +1,6 @@ // can run this using rigctl/rigctld and socat pty devices #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simrotorez.c b/simulators/simrotorez.c index 5c9a4a315..345db445c 100644 --- a/simulators/simrotorez.c +++ b/simulators/simrotorez.c @@ -1,13 +1,6 @@ // can run this using rigctl/rigctld and socat pty devices #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simspid.c b/simulators/simspid.c index ce5235379..a38811e88 100644 --- a/simulators/simspid.c +++ b/simulators/simspid.c @@ -1,13 +1,6 @@ // can run this using rigctl/rigctld and socat pty devices #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simtmd710.c b/simulators/simtmd710.c index 55257e001..28fa9d62f 100644 --- a/simulators/simtmd710.c +++ b/simulators/simtmd710.c @@ -1,13 +1,6 @@ // can run this using rigctl/rigctld and socat pty devices #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simtrusdx.c b/simulators/simtrusdx.c index 6ee1e533c..c666f012f 100644 --- a/simulators/simtrusdx.c +++ b/simulators/simtrusdx.c @@ -1,13 +1,6 @@ // can run this using rigctl/rigctld and socat pty devices #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simts450.c b/simulators/simts450.c index 4b6fe203c..7e5b87bd1 100644 --- a/simulators/simts450.c +++ b/simulators/simts450.c @@ -1,13 +1,6 @@ // can run this using rigctl/rigctld and socat pty devices #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simts590.c b/simulators/simts590.c index c2bdbdea9..43d39ed34 100644 --- a/simulators/simts590.c +++ b/simulators/simts590.c @@ -1,13 +1,6 @@ // can run this using rigctl/rigctld and socat pty devices #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simts950.c b/simulators/simts950.c index ba746f149..5baaabdc2 100644 --- a/simulators/simts950.c +++ b/simulators/simts950.c @@ -1,13 +1,6 @@ // can run this using rigctl/rigctld and socat pty devices #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include diff --git a/simulators/simyaesu.c b/simulators/simyaesu.c index 37cc69ffc..ea126f8fd 100644 --- a/simulators/simyaesu.c +++ b/simulators/simyaesu.c @@ -1,13 +1,6 @@ // can run this using rigctl/rigctld and socat pty devices #define _XOPEN_SOURCE 700 // since we are POSIX here we need this -#if 0 -struct ip_mreq -{ - int dummy; -}; -#endif - #include #include #include