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
changes/38/13138/16
Neels Hofmeyr 4 years ago
parent e27fa15022
commit 4ac8009c29
  1. 4
      .gitignore
  2. 2
      configure.ac
  3. 2
      src/libmsc/gsm_04_08.c
  4. 2
      src/libmsc/gsm_04_08_cc.c
  5. 2
      src/libmsc/gsm_04_11.c
  6. 2
      src/libmsc/gsm_04_14.c
  7. 2
      src/libmsc/msc_net_init.c
  8. 2
      src/libmsc/msc_vty.c
  9. 2
      src/libmsc/ran_infra.c
  10. 2
      src/osmo-msc/msc_main.c

4
.gitignore vendored

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

@ -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

@ -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>

@ -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>

@ -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>

@ -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>

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

@ -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>

@ -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" },

@ -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>

Loading…
Cancel
Save