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 <openbsc/signal.h>
|
||||
|
||||
#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 <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";
|
||||
extern const char *openbsc_version;
|
||||
extern const char *openbsc_copyright;
|
||||
|
||||
/* timer to store statistics */
|
||||
#define DB_SYNC_INTERVAL 60, 0
|
||||
|
|
|
@ -33,11 +33,25 @@
|
|||
#include <openbsc/signal.h>
|
||||
#include <osmocore/talloc.h>
|
||||
|
||||
#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 <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
|
||||
* generate by code but we just pass on */
|
||||
|
||||
|
|
Loading…
Reference in New Issue