diff --git a/openbsc/src/bsc_hack.c b/openbsc/src/bsc_hack.c index 2405ceebd..edc93d948 100644 --- a/openbsc/src/bsc_hack.c +++ b/openbsc/src/bsc_hack.c @@ -37,21 +37,13 @@ #include #include -#include "../bscconfig.h" - /* MCC and MNC for the Location Area Identifier */ static struct debug_target *stderr_target; struct gsm_network *bsc_gsmnet = 0; static const char *database_name = "hlr.sqlite3"; static const char *config_file = "openbsc.cfg"; -const char *openbsc_version = "OpenBSC " PACKAGE_VERSION; -const char *openbsc_copyright = - "Copyright (C) 2008-2010 Harald Welte, Holger Freyther\n" - "Contributions by Daniel Willmann, Jan Lübbe,Stefan Schmidt\n" - "Dieter Spaar, Andreas Eversberg\n\n" - "License GPLv2+: GNU GPL version 2 or later \n" - "This is free software: you are free to change and redistribute it.\n" - "There is NO WARRANTY, to the extent permitted by law.\n"; +extern const char *openbsc_version; +extern const char *openbsc_copyright; /* timer to store statistics */ #define DB_SYNC_INTERVAL 60, 0 diff --git a/openbsc/src/bsc_init.c b/openbsc/src/bsc_init.c index f3436621f..678672026 100644 --- a/openbsc/src/bsc_init.c +++ b/openbsc/src/bsc_init.c @@ -33,11 +33,25 @@ #include #include +#include "../bscconfig.h" + + /* global pointer to the gsm network data structure */ extern struct gsm_network *bsc_gsmnet; static void patch_nm_tables(struct gsm_bts *bts); + +const char *openbsc_version = "OpenBSC " PACKAGE_VERSION; +const char *openbsc_copyright = + "Copyright (C) 2008-2010 Harald Welte, Holger Freyther\n" + "Contributions by Daniel Willmann, Jan Lübbe,Stefan Schmidt\n" + "Dieter Spaar, Andreas Eversberg\n\n" + "License GPLv2+: GNU GPL version 2 or later \n" + "This is free software: you are free to change and redistribute it.\n" + "There is NO WARRANTY, to the extent permitted by law.\n"; + + /* The following definitions are for OM and NM packets that we cannot yet * generate by code but we just pass on */