Move the copyright and version header to bsc_init.c
The copyright/version will be used from within the VTY code which might be linked into binaries even when bsc_hack.c is not linked into it.
This commit is contained in:
parent
b3121c5b3f
commit
a21a96f987
|
@ -37,21 +37,13 @@
|
||||||
#include <osmocore/talloc.h>
|
#include <osmocore/talloc.h>
|
||||||
#include <openbsc/signal.h>
|
#include <openbsc/signal.h>
|
||||||
|
|
||||||
#include "../bscconfig.h"
|
|
||||||
|
|
||||||
/* MCC and MNC for the Location Area Identifier */
|
/* MCC and MNC for the Location Area Identifier */
|
||||||
static struct debug_target *stderr_target;
|
static struct debug_target *stderr_target;
|
||||||
struct gsm_network *bsc_gsmnet = 0;
|
struct gsm_network *bsc_gsmnet = 0;
|
||||||
static const char *database_name = "hlr.sqlite3";
|
static const char *database_name = "hlr.sqlite3";
|
||||||
static const char *config_file = "openbsc.cfg";
|
static const char *config_file = "openbsc.cfg";
|
||||||
const char *openbsc_version = "OpenBSC " PACKAGE_VERSION;
|
extern const char *openbsc_version;
|
||||||
const char *openbsc_copyright =
|
extern 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 <http://gnu.org/licenses/gpl.html>\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";
|
|
||||||
|
|
||||||
/* timer to store statistics */
|
/* timer to store statistics */
|
||||||
#define DB_SYNC_INTERVAL 60, 0
|
#define DB_SYNC_INTERVAL 60, 0
|
||||||
|
|
|
@ -33,11 +33,25 @@
|
||||||
#include <openbsc/signal.h>
|
#include <openbsc/signal.h>
|
||||||
#include <osmocore/talloc.h>
|
#include <osmocore/talloc.h>
|
||||||
|
|
||||||
|
#include "../bscconfig.h"
|
||||||
|
|
||||||
|
|
||||||
/* global pointer to the gsm network data structure */
|
/* global pointer to the gsm network data structure */
|
||||||
extern struct gsm_network *bsc_gsmnet;
|
extern struct gsm_network *bsc_gsmnet;
|
||||||
|
|
||||||
static void patch_nm_tables(struct gsm_bts *bts);
|
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 <http://gnu.org/licenses/gpl.html>\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
|
/* The following definitions are for OM and NM packets that we cannot yet
|
||||||
* generate by code but we just pass on */
|
* generate by code but we just pass on */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue