[PATCH] osmo-bts[master]: meas_test: fix header file references

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

dexter gerrit-no-reply at lists.osmocom.org
Tue Jan 9 13:13:44 UTC 2018


Review at  https://gerrit.osmocom.org/5697

meas_test: fix header file references

The unittest module meas_test.c contains a lot of unused header
files as the result of a cut and paste error made earlier. Also
the reference to stdio.h is missing.

remove all header file references that are not needed.

add missing header reference to stdio.h

Change-Id: I167be096ed25a86b1114de1ada955822a0b42856
---
M tests/meas/meas_test.c
1 file changed, 1 insertion(+), 26 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/97/5697/1

diff --git a/tests/meas/meas_test.c b/tests/meas/meas_test.c
index acebab5..a283c47 100644
--- a/tests/meas/meas_test.c
+++ b/tests/meas/meas_test.c
@@ -1,37 +1,12 @@
+#include <stdio.h>
 #include <stdint.h>
-#include <unistd.h>
-#include <stdlib.h>
-#include <errno.h>
-#include <getopt.h>
-#include <limits.h>
-#include <sched.h>
-#include <sys/signal.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <sys/ioctl.h>
-
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <net/if.h>
 
 #include <osmocom/core/talloc.h>
 #include <osmocom/core/application.h>
-#include <osmocom/vty/telnet_interface.h>
-#include <osmocom/vty/logging.h>
-#include <osmocom/core/gsmtap.h>
-#include <osmocom/core/gsmtap_util.h>
-#include <osmocom/core/bits.h>
-#include <osmocom/core/backtrace.h>
-#include <osmocom/abis/abis.h>
 
 #include <osmo-bts/gsm_data.h>
 #include <osmo-bts/logging.h>
-#include <osmo-bts/abis.h>
 #include <osmo-bts/bts.h>
-#include <osmo-bts/vty.h>
-#include <osmo-bts/bts_model.h>
-#include <osmo-bts/pcu_if.h>
-#include <osmo-bts/l1sap.h>
 #include <osmo-bts/measurement.h>
 
 static struct gsm_bts *bts;

-- 
To view, visit https://gerrit.osmocom.org/5697
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I167be096ed25a86b1114de1ada955822a0b42856
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: dexter <pmaier at sysmocom.de>



More information about the gerrit-log mailing list