diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2018-02-27 14:52:50 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-03-02 08:57:37 +0000 |
commit | f03a3a584cf0a54cc7bd2647d3e1e65cfb4a6d91 (patch) | |
tree | ebc5209dcf1c50e6786e9910daaf131cf8c9241d | |
parent | 94a74e1b1c78e6c27b22be5ca675374e8b6a8222 (diff) |
pcu_if: move definition PCU_SOCK_DEFAULT into pcuif_proto.h
PCU_SOCK_DEFAULT is defined in the pcu counterpart of the file pcuif_proto.h
To be consistent with the pcu move the definition pcuif_proto.h
The pcuif_proto.h will be exact the same in the pcu repo and bts repo.
Change-Id: I67f8ec036e219994cc296d0ed5409da7f3ec681e
-rw-r--r-- | include/osmo-bts/pcu_if.h | 2 | ||||
-rw-r--r-- | include/osmo-bts/pcuif_proto.h | 2 | ||||
-rw-r--r-- | src/common/bts.c | 2 | ||||
-rw-r--r-- | src/common/vty.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/include/osmo-bts/pcu_if.h b/include/osmo-bts/pcu_if.h index 43778336..98efb570 100644 --- a/include/osmo-bts/pcu_if.h +++ b/include/osmo-bts/pcu_if.h @@ -1,8 +1,6 @@ #ifndef _PCU_IF_H #define _PCU_IF_H -#define PCU_SOCK_DEFAULT "/tmp/pcu_bts" - extern int pcu_direct; int pcu_tx_info_ind(void); diff --git a/include/osmo-bts/pcuif_proto.h b/include/osmo-bts/pcuif_proto.h index 224e3100..be63f1a4 100644 --- a/include/osmo-bts/pcuif_proto.h +++ b/include/osmo-bts/pcuif_proto.h @@ -3,6 +3,8 @@ #include <osmocom/gsm/l1sap.h> +#define PCU_SOCK_DEFAULT "/tmp/pcu_bts" + #define PCU_IF_VERSION 0x07 #define TXT_MAX_LEN 128 diff --git a/src/common/bts.c b/src/common/bts.c index 15b92d72..32ec5560 100644 --- a/src/common/bts.c +++ b/src/common/bts.c @@ -43,7 +43,7 @@ #include <osmo-bts/bts.h> #include <osmo-bts/bts_model.h> #include <osmo-bts/dtx_dl_amr_fsm.h> -#include <osmo-bts/pcu_if.h> +#include <osmo-bts/pcuif_proto.h> #include <osmo-bts/rsl.h> #include <osmo-bts/oml.h> #include <osmo-bts/signal.h> diff --git a/src/common/vty.c b/src/common/vty.c index b57e0192..5c5ac6e8 100644 --- a/src/common/vty.c +++ b/src/common/vty.c @@ -49,7 +49,7 @@ #include <osmo-bts/oml.h> #include <osmo-bts/signal.h> #include <osmo-bts/bts_model.h> -#include <osmo-bts/pcu_if.h> +#include <osmo-bts/pcuif_proto.h> #include <osmo-bts/measurement.h> #include <osmo-bts/vty.h> #include <osmo-bts/l1sap.h> |