fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmocom-bb/+/30013 )
Change subject: virt_phy: support building with -Werror ......................................................................
virt_phy: support building with -Werror
Change-Id: Iccd2575faadee1ad3982466bf6a07fa5d52b0250 --- M src/host/virt_phy/src/l1ctl_sap.c M src/host/virt_phy/src/virtphy.c 2 files changed, 4 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/13/30013/1
diff --git a/src/host/virt_phy/src/l1ctl_sap.c b/src/host/virt_phy/src/l1ctl_sap.c index a0e8c0c..35370f0 100644 --- a/src/host/virt_phy/src/l1ctl_sap.c +++ b/src/host/virt_phy/src/l1ctl_sap.c @@ -580,6 +580,7 @@ l1ctl_tx_tbf_cfg_conf(ms, cfg_req); }
+#if 0 static const enum osmo_gprs_cs osmo_cs_by_l1ctl[] = { [L1CTL_CS_NONE] = OSMO_GPRS_CS_NONE, [L1CTL_CS1] = OSMO_GPRS_CS1, @@ -603,6 +604,7 @@ return -1; return osmo_cs_by_l1ctl[l1]; } +#endif
static const enum l1ctl_coding_scheme l1ctl_cs_by_osmo[] = { [OSMO_GPRS_CS_NONE] = L1CTL_CS_NONE, diff --git a/src/host/virt_phy/src/virtphy.c b/src/host/virt_phy/src/virtphy.c index 412da9c..f2b8e5d 100644 --- a/src/host/virt_phy/src/virtphy.c +++ b/src/host/virt_phy/src/virtphy.c @@ -62,12 +62,12 @@ static char *mcast_netdev = NULL; static int mcast_ttl = -1;
-static void print_usage() +static void print_usage(void) { printf("Usage: virtphy\n"); }
-static void print_help() +static void print_help(void) { printf(" Some useful help...\n"); printf(" -h --help This text.\n");