rename bscconfig.h to config.h, cleanup

Get rid of the legacy name bscconfig.h from osmo-nitb times.

Remove the #include from some of the files that aren't actually using it.

Instead of '#include "../../config.h"', use plain '#include "config.h"'
because we're anyway passing $top_srcdir as -I during compilation.

Change-Id: Id4f683be1f36f0630c83da54e02868aae847aeec
This commit is contained in:
Neels Hofmeyr 2019-03-04 02:46:37 +01:00
parent e27fa15022
commit 4ac8009c29
10 changed files with 9 additions and 13 deletions

4
.gitignore vendored
View File

@ -5,8 +5,8 @@ debian/*.log
.deps
Makefile
Makefile.in
bscconfig.h
bscconfig.h.in
config.h
config.h.in
*.pc
*.*~

View File

@ -237,7 +237,7 @@ AC_MSG_RESULT([CFLAGS="$CFLAGS"])
AC_MSG_RESULT([CPPFLAGS="$CPPFLAGS"])
dnl Generate the output
AM_CONFIG_HEADER(bscconfig.h)
AM_CONFIG_HEADER(config.h)
AC_OUTPUT(
include/Makefile

View File

@ -32,7 +32,7 @@
#include <regex.h>
#include <sys/types.h>
#include "bscconfig.h"
#include "config.h"
#include <osmocom/msc/db.h>
#include <osmocom/msc/debug.h>

View File

@ -30,8 +30,6 @@
#include <regex.h>
#include <sys/types.h>
#include "bscconfig.h"
#include <osmocom/msc/db.h>
#include <osmocom/msc/debug.h>
#include <osmocom/msc/gsm_data.h>

View File

@ -33,7 +33,7 @@
#include <time.h>
#include <netinet/in.h>
#include "bscconfig.h"
#include "config.h"
#include <osmocom/core/msgb.h>
#include <osmocom/core/talloc.h>

View File

@ -24,8 +24,6 @@
#include <string.h>
#include <sys/types.h>
#include "bscconfig.h"
#include <osmocom/msc/debug.h>
#include <osmocom/msc/gsm_data.h>
#include <osmocom/msc/gsm_subscriber.h>

View File

@ -21,7 +21,7 @@
*
*/
#include "bscconfig.h"
#include "config.h"
#include <osmocom/core/tdef.h>

View File

@ -23,7 +23,7 @@
/* NOTE: I would have liked to call this the MSC_NODE instead of the MSC_NODE,
* but MSC_NODE already exists to configure a remote MSC for osmo-bsc. */
#include "../../bscconfig.h"
#include "config.h"
#include <inttypes.h>
#include <limits.h>

View File

@ -31,7 +31,7 @@
#include <osmocom/msc/ran_infra.h>
#include "bscconfig.h"
#include "config.h"
const struct value_string an_proto_names[] = {
{ OSMO_GSUP_ACCESS_NETWORK_PROTOCOL_TS3G_48006, "Ts3G-48006" },

View File

@ -36,7 +36,7 @@
#include <getopt.h>
/* build switches from the configure script */
#include "../../bscconfig.h"
#include "config.h"
#include <osmocom/msc/db.h>
#include <osmocom/core/application.h>