From f03a3a584cf0a54cc7bd2647d3e1e65cfb4a6d91 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Tue, 27 Feb 2018 14:52:50 +0100 Subject: 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 --- include/osmo-bts/pcu_if.h | 2 -- include/osmo-bts/pcuif_proto.h | 2 ++ src/common/bts.c | 2 +- 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 +#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 #include #include -#include +#include #include #include #include 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 #include #include -#include +#include #include #include #include -- cgit v1.2.3